package pure
- Alphabetic
- By Inheritance
- pure
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
IOOps[R] extends IOBaseOps[R]
Operations for an IO with a fixed R
-
case class
Poll[+A](poll: RIO[Any, Option[Try[A]]]) extends Product with Serializable
Representation of a running asyncronous computation that can be polled.
Representation of a running asyncronous computation that can be polled.
Note that, unlike Futures, operations on an Poll don't require an execution context and might be applied sequentially every time
pollis called. While this might be inneficient, this is by design, to simplify multiplatform development. -
sealed
trait
RIO[-R, +A] extends (R) ⇒ A
Representation of an effectful operation, based on Haskell's RIO Monad.
-
type
ResourceIO[+A] = RIO[Resource, A]
Representation of a operation on that requires a Resource, with the common Monad operations.
Representation of a operation on that requires a Resource, with the common Monad operations. This is the same as
RIO[Resource, A]. -
trait
ResourceIOOps extends AnyRef
Representation of a resource operation, with the common Monad operations.
-
type
StateRIO[-R, -State, +A] = (State) ⇒ RIO[R, A]
Alias for
State => RIO[R, A]
Value Members
-
object
IOOps
Basic IO operations to quicly create RIO type aliases
- object Poll extends Serializable
- object RIO extends IOBaseOps[Any]
-
object
ResourceIO extends ResourceIOOps with IOOps[Resource]
Object containing the operations that act on a Resource.