```suspend fun bla(): Either<SomeError, Unit&gt...
# arrow
p
Copy code
suspend fun bla(): Either<SomeError, Unit> =
  IO.effectEither { someSuspendWithEither() }
    .handleError(
      { it: Exception -> errorState(it) },
      { it: LeftSide -> defaultState() }
    )
    .continueOn(Main)
    .effectMap { paintUISuspend(it) }
    .suspended()
☝️ 1