Rhino.Context.ResumeContinuation C# (CSharp) Method

ResumeContinuation() public method

Restarts execution of the JavaScript suspended at the call to CaptureContinuation() . Execution of the code will resume with the functionResult as the result of the call that captured the continuation. Execution of the script will either conclude normally and the result returned, another continuation will be captured and thrown, or the script will terminate abnormally and throw an exception.
/// if another continuation is captured before /// the code terminates ///
public ResumeContinuation ( object continuation, Scriptable scope, object functionResult ) : object
continuation object /// The value returned by /// ContinuationPending.GetContinuation() ///
scope Scriptable
functionResult object /// This value will appear to the code being resumed /// as the result of the function that captured the continuation ///
return object
		public virtual object ResumeContinuation(object continuation, Scriptable scope, object functionResult)
		{
			object[] args = new object[] { functionResult };
			return Interpreter.RestartContinuation((NativeContinuation)continuation, this, scope, args);
		}
Context