Versions in this module Expand all Collapse all v1 v1.15.0 Jan 29, 2025 Changes in this version + func CancelFooServiceWorkflow(ctx workflow.Context, workflowID string, runID string) error + func CancelFooServiceWorkflowAsync(ctx workflow.Context, workflowID string, runID string) workflow.Future + func Foo(ctx workflow.Context, req *editions.FooInput, opts ...*FooWorkflowOptions) (*editions.FooOutput, error) + func RegisterFooServiceActivities(r worker.ActivityRegistry, c editions.FooServiceClient, ...) + type FooRun interface + Cancel func(workflow.Context) error + Future func() workflow.Future + Get func(workflow.Context) (*editions.FooOutput, error) + ID func() string + func FooAsync(ctx workflow.Context, req *editions.FooInput, opts ...*FooWorkflowOptions) (FooRun, error) + type FooServiceOptions struct + func NewFooServiceOptions() *FooServiceOptions + func (opts *FooServiceOptions) WithErrorConverter(errorConverter func(error) error) *FooServiceOptions + func (opts *FooServiceOptions) WithFilter(filter func(string) string) *FooServiceOptions + type FooWorkflowOptions struct + ActivityOptions *workflow.ActivityOptions + Detached bool + HeartbeatInterval time.Duration + ParentClosePolicy enumsv1.ParentClosePolicy + StartWorkflowOptions *client.StartWorkflowOptions + func NewFooWorkflowOptions() *FooWorkflowOptions + func (opts *FooWorkflowOptions) WithActivityOptions(ao workflow.ActivityOptions) *FooWorkflowOptions + func (opts *FooWorkflowOptions) WithDetached(d bool) *FooWorkflowOptions + func (opts *FooWorkflowOptions) WithHeartbeatInterval(d time.Duration) *FooWorkflowOptions + func (opts *FooWorkflowOptions) WithParentClosePolicy(policy enumsv1.ParentClosePolicy) *FooWorkflowOptions + func (opts *FooWorkflowOptions) WithStartWorkflow(swo client.StartWorkflowOptions) *FooWorkflowOptions