arrow-fx / arrow.fx / IO / unsafeRunTimed

unsafeRunTimed

fun unsafeRunTimed(limit: Duration): Option<A>

Run with a limitation on how long to await for individual async results. It’s possible that this methods runs forever i.e. for an infinite recursive IO.

NOTE this function is intended for testing, it should never appear in your mainline production code!

See Also

unsafeRunSync

Do you like Arrow?

Arrow Org
<