MCPcopy Create free account
hub / github.com/astercloud/aster / Publish

Method Publish

pkg/workflow/engine.go:125–125  ·  view source on GitHub ↗
(ctx context.Context, event *WorkflowEvent)

Source from the content-addressed store, hash-verified

123// EventBus 事件总线接口
124type EventBus interface {
125 Publish(ctx context.Context, event *WorkflowEvent) error
126 Subscribe(eventType string, handler EventHandler) error
127 Unsubscribe(eventType string, handler EventHandler) error
128}

Callers 5

createExecutionMethod · 0.80
executeNodeMethod · 0.80
markExecutionFailedMethod · 0.80
cancelExecutionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected