child_workflow

package
v0.0.0-...-94a9b73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

Child Workflow

Make sure the Temporal Server is running locally.

From the root of the project, start a Worker:

go run child-workflow/worker/main.go

Start the Workflow Execution:

go run child-workflow/starter/main.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SampleChildWorkflow

func SampleChildWorkflow(ctx workflow.Context, name string) (string, error)

@@@SNIPSTART samples-go-child-workflow-example-child-workflow-definition SampleChildWorkflow is a Workflow Definition

func SampleParentWorkflow

func SampleParentWorkflow(ctx workflow.Context) (string, error)

@@@SNIPSTART samples-go-child-workflow-example-parent-workflow-definition SampleParentWorkflow is a Workflow Definition This Workflow Definition demonstrates how to start a Child Workflow Execution from a Parent Workflow Execution. Each Child Workflow Execution starts a new Run. The Parent Workflow Execution is notified only after the completion of last Run of the Child Workflow Execution.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL