package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Aug 26, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package delaynode 提供让 workflow 在节点处等待指定时间的默认 node 节点。
Definition 返回延迟节点的完整注册定义。
type Config struct {
DurationMs int `json:"durationMs"`
}
Config 是 delay node 从 node.config 解码得到的内部配置。
Node 会响应 context 取消,避免延迟节点阻塞整条执行链路退出。
func (e *Node) Execute(fc *core.FlowContext, node *core.NodeDefine) (interface{}, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.