package fiber
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- fiber
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class AsyncThread extends Nameable
- class EngineContext extends AnyRef
- class Fiber extends Area
-
class
Handle[T] extends Nameable with OverridedEqualsHashCode
Fiber synchronization primitive that can be used later to store a value of type
T
.Fiber synchronization primitive that can be used later to store a value of type
T
.It can be created with:
- a type:
val a = Handle[Int]
) - a lambda executed in a new task:
val a = Handle{otherHandle.get + 1}
- See also
- a type:
- class HardForkApi extends AnyRef
- case class Lock() extends Handle[Int] with Product with Serializable
- trait Lockable extends Area
- case class Retainer() extends Area with Product with Serializable
- class RetainerGroup extends Area
- class RetainerHold extends Handle[Unit]
- class Unset extends AnyRef
Value Members
- def hardFork[T](body: ⇒ T): Handle[T]
- def hardFork: HardForkApi
- def hardForkRaw[T](withDep: Boolean = true)(body: ⇒ T): (Handle[T], AsyncThread)
- def hardForkRawHandle[T](withDep: Boolean = true)(body: (Handle[T]) ⇒ T): (Handle[T], AsyncThread)
-
def
soon(that: Handle[_], others: Handle[_]*): Unit
Specify in advance that the current task will use a Handle
Specify in advance that the current task will use a Handle
- See also
-
def
soon(that: Seq[Handle[_]]): Unit
Specify in advance that the current task will use a Handle
Specify in advance that the current task will use a Handle
- See also
- object AsyncThread
- object ElabDemo extends App
- object ElabOrderId
- object Engine extends ScopeProperty[EngineContext]
- object Fiber
- object Handle
- object RetainerGroup
- object Test1 extends App
- object Test2 extends App
- object Test3 extends App
- object Unset extends Unset