Class IO.Suspend<T>

java.lang.Object
com.github.tonivade.purefun.monad.IO.Suspend<T>
All Implemented Interfaces:
Applicable<IO<?>,T>, Bindable<IO<?>,T>, Effect<IO<?>,T>, Mappable<IO<?>,T>, Recoverable, Kind<IO<?>,T>, IO<T>, IOOf<T>
Enclosing interface:
IO<T>

public static final class IO.Suspend<T> extends Object implements IO<T>
  • Field Details

  • Constructor Details

    • Suspend

      private Suspend(Producer<? extends Kind<IO<?>,? extends T>> lazy)
  • Method Details