Skip to content

vkarpov15/temporal-api-caching-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temporal API Caching Example

Running this sample

  1. Make sure Temporal Server is running locally (see the quick install guide).
  2. npm install to install dependencies.
  3. npm run start.watch to start the Worker.
  4. In another shell, npm run start-workflow to run the Workflow Client
  5. Run npm run query-workflow to query exchange rates for a given day (today by default)

The Workflow should print out exchange rates for several currencies:

{
  AED: 3.673005,
  AFN: 86,
  ALL: 114.75,
  AMD: 460.236151,
  ANG: 1.802194,
  ...
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published