All Methods Static Methods Instance Methods Abstract Methods Default Methods
| Modifier and Type |
Method and Description |
default <R> IO<R> |
andThen(IO<R> after) |
static <T extends java.lang.AutoCloseable,R> IO<R> |
bracket(IO<T> acquire,
Function1<T,IO<R>> use) |
static <T,R> IO<R> |
bracket(IO<T> acquire,
Function1<T,IO<R>> use,
CheckedConsumer1<T> release) |
static IO<Nothing> |
exec(java.lang.Runnable task) |
default <R> IO<R> |
flatMap(Function1<T,? extends Higher1<IO.µ,R>> map) |
static <T,R> Function1<T,IO<R>> |
lift(Function1<T,R> task) |
default <R> IO<R> |
map(Function1<T,R> map) |
static Monad<IO.µ> |
monad() |
static <T> IO<T> |
narrowK(Higher1<IO.µ,T> hkt) |
static IO<Nothing> |
noop() |
static <T> IO<T> |
of(Producer<T> producer) |
static <T> IO<T> |
pure(T value) |
static IO<Nothing> |
sequence(Sequence<IO<?>> sequence) |
T |
unsafeRunSync() |