
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
基于动作的分块执行。
支持序列执行 支持异步执行 基于状态的变化
class ActionX extends ActionBase {
/** 需要重写的执行方法 */
protected onExecute() {
super.onExecute();
console.log('execute Action', this.uid);
setTimeout(() => {
this.finish();
}, 5000);
}
}
const action1 = new ActionX();
const action2 = new ActionX();
const action3 = new ActionX();
action1.on('ActionCompleted', ActionCompleted);
action2.on('ActionCompleted', ActionCompleted);
action3.on('ActionCompleted', ActionCompleted);
const process = new ProcessBase();
process.add(action1);
process.add(action2);
process.add(action3);
process.on('ProcessCompleted', () => {
console.log('ProcessCompleted');
});
process.start();
function ActionCompleted(action: IAction) {
console.log('ActionCompleted', action.uid);
}
FAQs
We found that actionx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.