We’ll start working on `IO<E, A>` very soon ...
# arrow
s
We’ll start working on
IO<E, A>
very soon and you could do this then
Copy code
val session: IO<Unit, String> = IO.just(Unit) // Unit is the same as `None` for `Option` here but could also be a custom domain like with `Either`
fun createSession(): IO<Nothing, Session>
session.handleErrorWith { createSession() }