async<A> static method

Effect<A, Object, Never> async<A>(
  1. Future<A> computation()
)

Creates an effect from an asynchronous computation

Implementation

static Effect<A, Object, Never> async<A>(Future<A> Function() computation) =>
    _Async(computation);