Interface Controller<Success, Failure, Message>
Type Parameters
Success extends unknown = unknown
Failure extends unknown = Error
Message extends unknown = never
Methods
next
- next(value): TaskState<Success, Message>
Returns TaskState<Success, Message>
return
- return(value): TaskState<Success, Message>
Returns TaskState<Success, Message>
throw
- throw(error): TaskState<Success, Message>
Returns TaskState<Success, Message>