Maxim Fateev
Maxim Fateev
There is [originalRunId](https://github.com/temporalio/api/blob/79e9495c8f2c2518bb29cb72056c796b5b9fc26a/temporal/api/history/v1/message.proto#L77) that is preserved on reset.
It looksl ike interface types is the way to go: https://hacks.mozilla.org/2019/08/webassembly-interface-types/
It should also support ability to recreate domain with the same name. Deletion of domain data is eventual goal.
This applies to signalExternalWorkflow as well.
I believe you can implement this logic by implementing custom WorkflowOutboundCallsInterceptor.
To be consistent with existing APIs, my proposal is as follows: ``` class Async { ... static Promise await(Duration timeout, Supplier unblockCondition); } ```
Workflow can implement a special query to produce these inputs through replay.
A relatively simple feature would be pausing/unpausing a specific workflow or activity task queue through the service API.
Also add this information to DescribeWorkflowExecution result.
SDK can fail the execution by emitting FailWorkflowExecution command.