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-devto start Temporal Server.npm installto install dependencies.npm run start.watchto start the Worker.- In another shell,
npm run workflowto run the Workflow Client.