Skip to content

ctholho/poc

Repository files navigation

State

This sample has a Workflow that maintains state in a Map<string, number>. The state can be updated and read via a Signal and Query:

src/workflows.ts

The Client scripts are:

Running this sample

  1. temporal server start-dev to start Temporal Server.
  2. pnpm install to install dependencies.
  3. pnpm run start.watch to start the Worker.
  4. In another shell, pnpm run workflow.start to run the Workflow.

Or run these to develop:

temporal server start-dev --db-filename temporal-db --log-format pretty
pnpm server.watch
pnpm external.watch
pnpm worker.watch

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors