FtrSuccessExt<S, E> extension

Extension methods for Future

on

Properties

data Future<S>

Available on Future<Success<S, E>>, provided by the FtrSuccessExt extension

Asynchronously extracts the success data.
no setter

Methods

flat() Future<(S, E?)>

Available on Future<Success<S, E>>, provided by the FtrSuccessExt extension

Asynchronously flattens the successful result into a tuple.
map<X extends Result>(X mapper(S data)) Future<X>

Available on Future<Success<S, E>>, provided by the FtrSuccessExt extension

Asynchronously transforms the success data using a mapper function.