You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dbos/dbos.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ type DBOSContext interface {
111
111
// Workflow operations
112
112
RunAsStep(_DBOSContext, fnStepFunc, opts...StepOption) (any, error) // Execute a function as a durable step within a workflow
113
113
RunWorkflow(_DBOSContext, fnWorkflowFunc, inputany, opts...WorkflowOption) (WorkflowHandle[any], error) // Start a new workflow execution
114
+
Go(_DBOSContext, fnStepFunc, opts...StepOption) (chanStepOutcome[any], error) // Starts a step inside a Go routine and returns a channel to receive the result
114
115
Send(_DBOSContext, destinationIDstring, messageany, topicstring) error// Send a message to another workflow
115
116
Recv(_DBOSContext, topicstring, timeout time.Duration) (any, error) // Receive a message sent to this workflow
116
117
SetEvent(_DBOSContext, keystring, messageany) error// Set a key-value event for this workflow
0 commit comments