Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@nteract/epics
Advanced tools
This package contains a set of Redux-Observable epics for use in nteract applications.
$ yarn add @nteract/epics
$ npm install --save @nteract/epics
The example below shows how we can use the watchExecutionStateEpic
to monitor the state of a recently launched kernel.
import { watchExecutionStateEpic } from "@nteract/epics";
export default () => {
// Create a Observable for the successful launch of a
// kernel.
const action$ = ActionsObservable.of({
type: actionTypes.LAUNCH_KERNEL_SUCCESSFUL,
payload: {
kernel: {
channels: of({
header: { msg_type: "status" },
content: { execution_state: "idle" }
})
}
}
});
// Monitor the Observable and update the
// state of the kernel on our client appropriately.
const obs = watchExecutionStateEpic(action$);
obs.pipe(toArray()).subscribe(
actions => {
const types = actions.map(({ type }) => type);
expect(types).toEqual([actionTypes.SET_EXECUTION_STATE]);
},
err => done.fail(err), // It should not error in the stream
() => done()
);
});
}
We're working on adding more documentation for this component. Stay tuned by watching this repository!
If you experience an issue while using this package or have a feature request, please file an issue on the issue board and add the pkg:epics
label.
FAQs
Redux-Observable epics for nteract apps
We found that @nteract/epics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.