turbolift.io

package turbolift.io

Members list

Type members

Classlikes

sealed trait AtomicVar[S] extends Get[S], Put[S]

Attributes

Companion
object
Supertypes
trait Put[S]
trait Get[S]
class Object
trait Matchable
class Any
object AtomicVar

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
AtomicVar.type
final class BlockingVar[S](_initial: S) extends Get[S], Put[S]

Concurrent mutable variable.

Concurrent mutable variable.

Like AtomicVar, but blocks on contention instead spinning.

Attributes

Companion
object
Supertypes
trait Put[S]
trait Get[S]
class Object
trait Matchable
class Any
object BlockingVar

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class Cause

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Aborted
class Both
object Cancelled
class Then
class Thrown
object Cause

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Cause.type
sealed trait Channel[A] extends Get[A], Put[A]

Attributes

Companion
object
Supertypes
trait Put[A]
trait Get[A]
trait Base
class Object
trait Matchable
class Any
Show all
object Channel

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Channel.type
sealed trait CountDownLatch

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait CyclicBarrier

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object CyclicBarrier

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait EffectfulVar[A, U <: IO] extends Get[A, U], Put[A, U]

Variable writable once.

Variable writable once.

Similar to OnceVar. Starts as empty. Any get operation blocks until put happens.

Unlike OnceVar, EffectfulVar stores effectful value: see Zipper.

Stored effects U are absorbed by the first fiber that performs get operation. Subsequent fibers that perform gets only receive pure A value, or Broken effect if none exists.

Attributes

Companion
object
Supertypes
trait Put[A, U]
trait Get[A, U]
class Object
trait Matchable
class Any
object EffectfulVar

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object Exceptions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Exceptions.type
sealed trait Fiber[+A, -U]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Fiber

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Fiber.type
final class Loom[A, U <: IO]

Fiber factory. Fibers share their effects, and the loom accumulates their effectful results.

Fiber factory. Fibers share their effects, and the loom accumulates their effectful results.

Unrelated to the "Project Loom".

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Loom

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Loom.type
sealed trait OnceVar[A] extends Get[A], Put[A]

Variable writable once.

Variable writable once.

Starts as empty. Any get operation blocks until put happens.

Attributes

Companion
object
Supertypes
trait Put[A]
trait Get[A]
class Object
trait Matchable
class Any
object OnceVar

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
OnceVar.type
sealed abstract class Outcome[+A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NotSuccess
object Cancelled
class Failure
class Success[A]
object Outcome

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Outcome.type
sealed trait ReentrantLock

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object ReentrantLock

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait ResourceFactory[A, U]

To be used with FinalizerEffect.

To be used with FinalizerEffect.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Closeable[A]

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Semaphore

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Semaphore

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Semaphore.type
sealed abstract class Snap[+A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NotSuccess
class Aborted
object Cancelled
class Failure
class Success[A]
object Snap

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Snap.type
sealed trait Warp

Collection of fibers (and/or other warps). Ensures lifetime boundary of its children.

Collection of fibers (and/or other warps). Ensures lifetime boundary of its children.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Warp

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Warp.type
sealed trait Zipper[+A, -U]

Effectful, parallelly composable result of fiber's execution.

Effectful, parallelly composable result of fiber's execution.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Zipper

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Zipper.type