temporalio/sdk-typescript

Expose defaultConnection() method to switch between localhost and cloud based on env

josh-berry opened this issue · 0 comments

Expose a defaultConnection() method or similar that switches between localhost (default) and cloud based on some environment variable, so that we can use it in the samples repos to allow people to easily run samples in the cloud. See: temporalio/features#454