Interface | Description |
---|---|
ChannelId<T> |
This is a marker interface for identifiers of
channels which
are used for communication between coroutines . |
CoroutineScope.ScopeCode |
A functional interface that will be executed in a scope that has been
launched with
CoroutineScope.launch(ScopeCode) . |
Class | Description |
---|---|
Channel<T> |
A channel that allows communication between
Coroutines . |
ChannelId.StringId<T> |
Internal implementation of string-based channel IDs.
|
Continuation<T> |
A continuation represents the state of a coroutine execution.
|
Coroutine<I,O> |
A pure Java implementation of cooperative concurrency, also known as
coroutines.
|
Coroutine.Subroutine<I,T,O> |
A coroutine subclass for the invocation of coroutines as subroutines in
the context of another execution.
|
CoroutineContext |
The context for the execution of
Coroutines . |
CoroutineEnvironment |
A base class for environments to execute coroutines in.
|
CoroutineEvent |
The event object for coroutine events.
|
Coroutines |
Contains global
Coroutine management functions and relation types. |
CoroutineScope |
A scope that manages one or more running coroutines.
|
CoroutineScope.ScopeFuture<T> |
An implementation of the future interface that wraps a scope execution.
|
CoroutineStep<I,O> |
This is the base class for all steps of coroutines.
|
Selection<T,V,R> |
A
Suspension subclass that selects the suspension result from one or
more of multiple continuations based on certain criteria. |
Suspension<T> |
Encapsulates the data that represents a suspended
Coroutine . |
Enum | Description |
---|---|
CoroutineEvent.EventType |
The available event types.
|
Exception | Description |
---|---|
ChannelClosedException |
A coroutine exception that is thrown if a closed channel is accessed.
|
CoroutineException |
The base class of unchecked exceptions that may be thrown by
Coroutine executions. |
CoroutineScopeException |
A runtime exception that is thrown if one or more
Coroutine
executions in a CoroutineScope fail with an exception. |