when<ReturnType> abstract method

ReturnType when<ReturnType>(
  1. SuccessCallback<S, E, ReturnType> onSuccess,
  2. FailureCallback<S, E, ReturnType> onFailure
)
inherited

Implementation

ReturnType when<ReturnType>(
  SuccessCallback<S, E, ReturnType> onSuccess,
  FailureCallback<S, E, ReturnType> onFailure,
);