Capture a continuation from the current execution. The execution must have been started via a call to {@link #executeScriptWithContinuations(Script,Scriptable)} or{@link #callFunctionWithContinuations(Callable,Scriptable,Object[])}. This implies that the code calling this method must have been called as a function from the JavaScript script. Also, there cannot be any non-JavaScript code between the JavaScript frames (e.g., a call to eval()). The ContinuationPending exception returned must be thrown.
@return A ContinuationPending exception that must be thrown
@since 1.7 Release 2
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.