UnsafeIO
turbolift.effects.UnsafeIO
object UnsafeIO
Some IO operations with IO effect removed from the signature.
Provided because in some circumstances they may be safely considered as IO-free.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
UnsafeIO.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
def bracket[A, B, U](acquire: Computation[A, U], release: A => Computation[Unit, U])(use: A => Computation[B, U]): Computation[B, U]
def bracket[A, U](acquire: Computation[Unit, U], release: Computation[Unit, U])(use: Computation[A, U]): Computation[A, U]
def bracketSnap[A, B, U](acquire: Computation[A, U], release: (A, Snap[B]) => Computation[B, U])(use: A => Computation[B, U]): Computation[B, U]
def guaranteeSnap[A, U](release: (Snap[A]) => Computation[A, U])(body: Computation[A, U]): Computation[A, U]
def onAbort[A, U](body: Computation[A, U])(f: (Any, Prompt) => Computation[Unit, U]): Computation[A, U]
def onFailure[A, U](body: Computation[A, U])(f: Throwable => Computation[Unit, U]): Computation[A, U]
def onSnapSome[A, U](body: Computation[A, U])(f: PartialFunction[Snap[A], Computation[Unit, U]]): Computation[A, U]
In this article