arrow-effects-extensions / arrow.effects.extensions.io.async / never

never

@JvmName("never") fun <A> never(): IO<A>

Task that never finishes evaluating.


import arrow.effects.*
import arrow.effects.extensions.io.async.*
import arrow.core.*



fun main(args: Array<String>) {
  //sampleStart
  val i = IO.async().never<Int>()

  println(i)
  //sampleEnd
}