Skip to content

Latest commit

 

History

History

activities-examples

Activities Examples

This sample shows use cases for Activities:

More Activity samples are listed here.

Testing

Running this sample

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

The Workflow should make an HTTP request to httpbin.org and then return:

The answer is 42