resonatehq / roadmap

Resonate Roadmap
0 stars 0 forks source link

Cancellation #4

Open dfarr opened 8 months ago

dfarr commented 8 months ago

Durable promises can be cancelled, this feature should be exposed to the user on the context object. When a context (which always maps to one durable promise) is cancelled, all child contexts should also be cancelled (recursively) if not already completed.

Ultimately a cancellation error should be returned to the user code where applicable.

flossypurse commented 1 month ago

status update

The Server supports setting a Promise to a "canceled" state.

On the Python SDK side, this feature is in the design stage. The plan is to have it implemented in the Python SDK for the v1.rc

flossypurse commented 1 month ago

https://github.com/resonatehq/resonate-sdk-py/issues/47