Quick question regarding the new continuation methods:

In the ContinuationsApiTest class, function f(int) returns an int. However
the method f() has no return (it always throws the ContinuationPending
exception).

However the function still returns an int in the JS environment. Based on
the example it looks like the return value is based on the application state
object. However the javadocs only say that this is an "arbitrary" object for
passing state info. 

Does someone know the rules regarding the return value of a native java
method that calls captureContinuation()?

Thanks,
David



_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to