Reject
Initialize a new instance of Continuation<TFail,TSuccess>
value with the TFail
argument.
Parameters | Returns |
TFail fail | Continuation<TFail, Unit> |
TFail fail | Continuation<TFail, TSuccess> |
Usage
This method is usually used to start a new Continuation
pipeline in Fail state. You can specify the TSuccess type, otherwise it will be an Unit
value.
Without specify TSuccess type
Specifying the TSuccess type
Last updated