文件名称:swfer:使SWF更简单
文件大小:8KB
文件格式:ZIP
更新时间:2024-06-03 08:46:15
JavaScript
交换 使SWF更简单 模板-决策器 const Decider = require ( 'swfer' ) . Decider ; const decider = new Decider ( process . env . SWF_DOMAIN , process . env . SWF_TASKLIST ) ; decider . on ( 'WorkflowExecutionStarted' , ( decisionTask , event ) => { // on workflow start (either by api or by script) console . log ( 'Workflow Started' , event ) ; let attributes = event . getAttributes ( ) ; let a
【文件预览】:
swfer-master
----.gitignore(884B)
----package.json(548B)
----package-lock.json(4KB)
----src()
--------Workflow.js(1KB)
--------Activity.js(2KB)
--------Decider.js(5KB)
----index.js(246B)
----README.md(2KB)
----.vscode()
--------settings.json(53B)
----yarn.lock(3KB)