arrow-fx / arrow.fx.extensions.io.async / never
@JvmName("never") fun <A> ~~never~~():
IO
<A>
Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/
Task that never finishes evaluating.
import arrow.fx.*
import arrow.fx.extensions.io.async.*
import arrow.core.*
fun main(args: Array<String>) {
//sampleStart
val i = IO.async().never<Int>()
println(i)
//sampleEnd
}
Do you like Arrow?
✖