Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 748 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 748 Bytes

Fetch ESM

Sample for configuring a Temporal project with TypeScript and ES Modules.

Fundamental difference from CommonJS:

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 return:

Hello, Temporal!