This interface represents an object which can be resumed via its resume function.

Variables

read onlycontext:Context

The immutable context of this object.

Methods

resume(result:T, error:Exception):Void

Resumes execution with result value result or exception error.

Generally, if error != null, the result value is ignoried and execution continues as if error had been thrown as an exception.