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
temporal server start-dev
to start Temporal Server.npm install
to install dependencies.npm run start.watch
to start the Worker.- In another shell,
npm run workflow
to run the Workflow Client.