IOBaseOps

trait IOBaseOps[R]

Basic operations for an IO with a fixed R

class Object
trait Matchable
class Any
trait IOOps[R]
object CanvasIO.type
object MSurfaceIO.type
object SurfaceIO.type
object ResourceIO.type
object RIO.type

Value members

Concrete methods

def fromCallback[A](operation: Try[A] => Unit => Unit): RIO[R, Poll[A]]

Returns a Poll from a function that receives a callback

Returns a Poll from a function that receives a callback

def pure[A](x: A): RIO[R, A]

Lifts a value into a RIO.

Lifts a value into a RIO.

def suspend[A](x: => A): RIO[R, A]

Suspends a computation into a RIO.

Suspends a computation into a RIO.

Concrete fields

val noop: RIO[R, Unit]

An operation that does nothing.

An operation that does nothing.