CancellableFork
A fork started using forkCancellable, backed by a (virtual) thread.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Interrupts the fork, and blocks until it completes with a result.
Interrupts the fork, and blocks until it completes with a result.
Attributes
Interrupts the fork, and returns immediately, without waiting for the fork to complete. Note that the enclosing scope will only complete once all forks have completed.
Interrupts the fork, and returns immediately, without waiting for the fork to complete. Note that the enclosing scope will only complete once all forks have completed.
Attributes
Inherited methods
Blocks until the fork completes with a result. If the fork failed with an exception, this exception is not thrown, but returned as a Left
.
Blocks until the fork completes with a result. If the fork failed with an exception, this exception is not thrown, but returned as a Left
.
Attributes
- Throws
-
InterruptedException
If the join is interrupted.
- Inherited from:
- UnsupervisedFork
Inherited and Abstract methods
Blocks until the fork completes with a result.
Blocks until the fork completes with a result.
Attributes
- Throws
-
Throwable
If the fork completed with an exception, and is unsupervised (started with forkUnsupervised or forkCancellable).
- See also
- Inherited from:
- Fork