An example: ``` IO.async() .async { callback: (E...
# arrow
r
An example:
Copy code
IO.async()
  .async { callback: (Either<Throwable, Int>) -> Unit -> 
    userFromDatabaseObservable().subscribe({ user: User ->
      callback(user.left())
    }, { error: Exception ->
      callback(error.right())
    })
  }
s
What the difference if i'll call
Copy code
IO.async()
  .async { ... }
vs
Copy code
IO.async { ... }
?