39. ixsl:schedule-action (1/2)
JavaScript (and JavaScript APIs) support “reliquishing control” through callbacks
or, in modern parlance “promises”. SaxonJS uses ixsl:schedule-action
.
There are three flavors of scheduled action:
Wait until documents are available.
Wait for an HTTP request to complete.
Wait for a specified number of seconds.
You can have more than one scheduled action in progress.