| Package | Description |
|---|---|
| org.apache.commons.javaflow.api |
| Modifier and Type | Method and Description |
|---|---|
static Continuation |
Continuation.continueWith(Continuation continuation)
Deprecated.
|
static Continuation |
Continuation.continueWith(Continuation continuation,
Object value)
Deprecated.
|
abstract Continuation |
Continuation.multiShot()
View this continuation as a "multi-shot" continuation that may be resumed multiple times.
|
Continuation |
Continuation.resume()
Resumes the execution of the specified continuation from where it's left off.
|
Continuation |
Continuation.resume(Object value)
Resumes the execution of the specified continuation from where it's left off
and creates a new continuation representing the new state.
|
protected abstract Continuation |
Continuation.resumeWith(ResumeParameter param) |
abstract Continuation |
Continuation.singleShot()
View this continuation as a performance-optimized continuation that may be resumed only once.
|
static Continuation |
Continuation.startSuspendedWith(Runnable target)
Creates a new
Continuation object from the specified Runnable
object. |
static Continuation |
Continuation.startSuspendedWith(Runnable target,
boolean singleShot)
Creates a new
Continuation object from the specified Runnable
object. |
static Continuation |
Continuation.startWith(Runnable target)
|
static Continuation |
Continuation.startWith(Runnable target,
boolean singleShot)
|
static Continuation |
Continuation.startWith(Runnable target,
Object context)
|
static Continuation |
Continuation.startWith(Runnable target,
Object context,
boolean singleShot)
|
| Modifier and Type | Method and Description |
|---|---|
static Continuation |
Continuation.continueWith(Continuation continuation)
Deprecated.
|
static Continuation |
Continuation.continueWith(Continuation continuation,
Object value)
Deprecated.
|
Copyright © 2025. All rights reserved.