command
Version:
v0.0.0-...-df6f7bd
Opens a new window with list of versions in this module.
Published: Mar 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This sample workflow demos how to use consistent query API to get the current state of running workflow.
query_workflow.go shows how to setup a custom workflow query handler
query_workflow_test.go shows how to unit-test query functionality
Steps to run this sample:
- You need a cadence service running. See details in cmd/samples/README.md
- Run the following command to start worker
./bin/query -m worker
- Run the following command to trigger a workflow execution. You should see workflowID and runID print out on screen.
./bin/query -m trigger
It will start a workflow and then using signal+consistent query to operate the workflow.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.