IOs

kyo.IOs
See theIOs companion object
sealed trait IOs extends Effect[IO, IOs]

Attributes

Companion
object
Graph
Supertypes
class Effect[IO, IOs]
class Object
trait Matchable
class Any
Known subtypes
object IOs.type

Members list

Value members

Concrete methods

def apply[T, S](f: => T < IOs & S): T < IOs & S
def attempt[T, S](v: => T < S): Try[T] < S
def ensure[T, S](f: => Unit < IOs)(v: T < S): T < IOs & S
def fail[T](ex: Throwable): T < IOs
def fail[T](msg: String): T < IOs
def fromTry[T, S](v: Try[T] < S): T < IOs & S
def handle[T, S, U >: T, S2](v: => T < S)(pf: PartialFunction[Throwable, U < S2]): U < S & S2
def run[T](v: T < IOs)(using f: Flat[T < IOs]): T
def runLazy[T, S](v: T < IOs & S)(using f: Flat[T < IOs & S]): T < S

Inherited methods

def accepts[M2[_], E2 <: Effect[M2, LazyRef(...)]](other: Effect[M2, E2]): Boolean

Attributes

Inherited from:
Effect
inline protected def handle[T, S, S2](v: T < IOs & S)(implicit h: Handler[IO, IOs, S2], s: Safepoint[IO, IOs], f: Flat[T < IOs & S]): M[T] < S & S2

Attributes

Inherited from:
Effect
inline protected def suspend[T, S](v: IO[T] < S): T < S & E

Attributes

Inherited from:
Effect
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Effect -> Any
Inherited from:
Effect

Concrete fields

val unit: Unit < IOs