Attributes
Members list
Type members
Classlikes
A running fork, started using Ox.fork or Ox.forkHold, backend by a thread.
A running fork, started using Ox.fork or Ox.forkHold, backend by a thread.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Exceptions are propagated. In case an exception is thrown while evaluating t
, the enclosing scope's main thread is interrupted and
the exception is re-thrown there.
Attributes
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Exceptions are held. In case an exception is thrown while evaluating t
, it will be thrown when calling the returned Fork's
.join()
method. The exception is not propagated to the enclosing scope's main thread, like in the case of fork.
Attributes
Returns the result of the first computation to complete (either successfully or with an exception).
Returns the result of the first computation to complete (either successfully or with an exception).
Attributes
Returns the result of the first computation to complete successfully, or if all fail - throws the first exception.
Returns the result of the first computation to complete successfully, or if all fail - throws the first exception.
Attributes
Any child forks are interrupted after f
completes.
Any child forks are interrupted after f
completes.