delay<A> static method

IO<A> delay<A>(
  1. Function0<A> thunk
)

Suspends the synchronous evaluation of thunk in IO.

Implementation

static IO<A> delay<A>(Function0<A> thunk) => _Delay(Fn0(thunk));