Package | Description |
---|---|
net.sandius.rembulan.exec |
Provides a high-level execution interface to the runtime based on continuations.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
DirectCallExecutor.call(StateContext stateContext,
Object fn,
Object... args)
Calls
fn(args...) in the current thread in the state context stateContext ,
returning the call result once the call completes. |
static Object[] |
DirectCallExecutor.execute(Continuation continuation)
Executes
continuation in the current thread in a scheduling context
that never asks the execution to pause, returning the call result once the call completes. |
static Object[] |
DirectCallExecutor.execute(Continuation continuation,
SchedulingContext schedulingContext)
Resumes
continuation in the current thread in the scheduling context
schedulingContext , returning the call result once the call completes. |
static Object[] |
DirectCallExecutor.execute(Continuation continuation,
SchedulingContext schedulingContext,
boolean convertResultsToJava)
Resumes
continuation in the current thread in the scheduling context
schedulingContext , returning the call result once the call completes. |
Object[] |
DirectCallExecutor.resume(Continuation continuation)
Resumes
continuation in the current thread, returning the call result once
the call completes. |
Copyright © 2016. All rights reserved.