branch

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 2

README

Steps to run this sample:

  1. You need a Temporal service running. See details in README.md
  2. Run the following command to start the worker
go run branch/worker/main.go
  1. Run the following command to start branch workflow
go run branch/starter/main.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SampleActivity

func SampleActivity(input string) (string, error)

func SampleBranchWorkflow

func SampleBranchWorkflow(ctx workflow.Context, totalBranches int) (result []string, err error)

SampleBranchWorkflow workflow definition This workflow executes multiple activities in parallel. The number of branches is controlled by a passed in parameter.

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