I don't know much about the JDK scripting classes (never used them), so I'm not the best source, but since I don't see another answer yet I'll take my best shot at the question. I looked through the scripting classes briefly and it doesn't look like all of the functionality in Rhino is available through those classes (I noted that they were described as a "simple" generic scripting API). I suspect (hopefully someone will correct me if I'm wrong) that the continuations functionality simply isn't available through the JDK generic scripting APIs. For that functionality you'll need to work directly with the Rhino APIs.
Dave -----Original Message----- From: dev-tech-js-engine-rhino-bounces+davidparks21=yahoo....@lists.mozilla.org [mailto:dev-tech-js-engine-rhino-bounces+davidparks21=yahoo....@lists.mozill a.org] On Behalf Of Jereme Sent: Friday, February 27, 2009 9:54 AM To: [email protected] Subject: Re: Pause and Resume Script Is there some additional examples of how to use continuations someplace? Especially showing continuations being used with the JDK 6 classes for scripting (ScriptEngine & ScriptEngineManager)? I have the latest release of Rhino (1.7R2-RC3) running in Eclipse and I have read through the ContinuationsApiTest class. But I do not understand how to use continuations with the JDK 6 classes. Am I missing something? _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
