Public
Authored by Ian Murray

Brdiging an Asynchronous API with `IO`

Edited

An example of using IO.runAsync to construct an IO<A> when using a callback-based API.

In this example, the callback-based API is someCallbackApi(), and it expects a SomeCallback instance.

Example.kt 1.6 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment