| Package | Description |
|---|---|
| net.sourceforge.htmlunit.corejs.javascript |
| Modifier and Type | Method and Description |
|---|---|
ContinuationPending |
Context.captureContinuation()
Capture a continuation from the current execution.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
Context.callFunctionWithContinuations(Callable function,
Scriptable scope,
java.lang.Object[] args)
Call function that may pause execution by capturing a continuation.
|
java.lang.Object |
Context.executeScriptWithContinuations(Script script,
Scriptable scope)
Execute script that may pause execution by capturing a continuation.
|
java.lang.Object |
Context.resumeContinuation(java.lang.Object continuation,
Scriptable scope,
java.lang.Object functionResult)
Restarts execution of the JavaScript suspended at the call to
Context.captureContinuation(). |