Skip to content

Latest commit

 

History

History

grpc-calls

grpc calls

Under the hood of a Client, the Connection is actually powered by a WorkflowService driver that makes the raw gRPC calls to Temporal Server.

This Service is capable of making a wider range of introspection calls (as per the API reference).

This demo shows you how to make those raw gRPC calls to Temporal Server. Just look at client.ts as that's the only thing that is different. Full docs are available at https://docs.temporal.io/typescript/clients/#advanced-making-raw-grpc-calls

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 Client.