Feature #6447
closedAsync version of ixsl:call?
100%
Description
I was wondering if there could be a variant of ixsl:call
function that would allow calling async JS functions using the await
keyword? Or maybe a new ixsl:await
function?
Because right now the only way I know how to retrieve the result of an async JS function is to define a callback function that throws a CustomEvent
which is then matched as an ixsl:
template mode.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await
Updated by Norm Tovey-Walsh 5 months ago
- Status changed from New to Resolved
We've adding support for asynchronous calls using promises in SaxonJS 3.0. We hope that this will cover the use cases you have in mind. If you find that it doesn't, please let us know.
Updated by Debbie Lockett 5 months ago
- Category set to IXSL extensions
- Applies to JS Branch Trunk added
- Fix Committed on JS Branch Trunk added
Updated by Stefan Hermann about 2 months ago
As I understand this feature is not yet publicly available since SaxonJS 3.0 is not yet released?
Updated by Debbie Lockett 3 days ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to SaxonJS 3.0
Bug fix applied in the SaxonJS 3.0.0-beta1 preview release.
Please register to edit this issue
Also available in: Atom PDF Tracking page