Roey Berman
Roey Berman
I too hope we will support more JS runtimes including bun and deno.
The SDK uses v8 promise hooks `createHook`, not async hooks. We need this functionality for showing workflow stack traces.
We use promise hooks to capture stack traces that are used in the stack trace query feature that gives visibility into where your workflow is blocked at any given point.
Thanks! Overall lgtm. Please also test deleting a memo and reading the memo from WorkflowHandle.describe, I think setting a value to null or undefined should work. For testing, use the...
We could make `@temporalio/client` work in the browser by replacing `grpc-js` with `grpc-web` perhaps even in the same package, e.g. https://github.com/lquixada/cross-fetch. See related discussion here: https://temporalio.slack.com/archives/CTRCR8RBP/p1639166317413200
Yes, I'm aware. It makes a lot of sense to me to expose grpc web endpoints especially because we already have a type-safe JS client which (with minimal effort) could...
We're working on an HTTP/1.1 API that can be used to back running the TS SDK client in a browser. https://github.com/temporalio/api/pull/301
You can mock the workflow functions but you need to it from the vm context otherwise it’ll have no effect. I agree it’s hard to set up but probably possible...
Glad you got it working, we'll be working on improving this experience in the future
I like where you're going with this @mjameswh. A few places where this can be expanded: - Integration of this solution and make it easier to use and more configurable...