Open dfarr opened 6 months ago
status update
Suspension is in the design stage with the Python SDK. https://github.com/resonatehq/resonate-sdk-py/issues/52
Targeted implementation is in the v1.rc milestone.
The TypeScript SDK requires some key changes to support suspension. ETA is unknown.
This Roadmap feature will be considered complete when implemented in the Python SDK.
In the generator implementation of the typescript sdk, we should suspend when all executions are awaiting on remote executions (and there is nothing else to do). When an execution hits a potential suspension point, we can check all other executions and if suspension is possible we should call a
suspend
lifecycle hook on all executions. Once finished, the program should halt.