You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Temporary workaround: if a workflows' own invocationId is exposed in the context (its already in ContextImpl, just needs to be made public) then workflows can expose a cancel handler which cancels itself using their invocationId and #412. External services can cancel it using the handler (ctx.workflowSendClient(Foo, key).cancel()).
I'm doing this for now by bypassing typescript's fake private fields and just grabbing ctx.stateMachine.invocation.debugId
With a bit of work you can make this work for services too, by making service calls self-register in some virtual object. Wouldn't recommend it.
Expose the ability to do a one way call from the Context, then cancel/kill it from context too.
The text was updated successfully, but these errors were encountered: