result_async library

Classes

ResultAsync<T, E>

Properties

fromFuture → ResultAsync<T, E> Function<T, E>(Future<T> future, E errorFn(Object e))
final
fromSafeFuture → ResultAsync<T, E> Function<T, E>(Future<T> future)
final

Functions

errAsync<T, E>(E error) → ResultAsync<T, E>
okAsync<T, E>(T value) → ResultAsync<T, E>