-
Method Summary
default void
void
One of result or error are always null.
default void
-
Method Details
-
-
-
consume
void consume(R result,
@NotNull
S secondary,
@Nullable
@Nullable AsyncError error)
One of result or error are always null.
If result is not null, error will be null.
If error is not null, result will be null.
- Parameters:
result - ResultAndErrorConsumer result
secondary - ResultAndErrorConsumer secondary result
error - Error