This PR adds a new Reset type which is intended to be used to allow resetting the current coroutine execution to a different pair of function and arguments.
In the inner layers of the SDK, this construct gets turned into a tail call with a temporary error status to communicate the failure to the scheduler (and apply back-pressure) while also changing the input arguments.
This PR adds a new
Reset
type which is intended to be used to allow resetting the current coroutine execution to a different pair of function and arguments.In the inner layers of the SDK, this construct gets turned into a tail call with a temporary error status to communicate the failure to the scheduler (and apply back-pressure) while also changing the input arguments.