From: Andrzej J. T. <an...@ch...> - 2010-02-04 14:35:00
|
Thomas: > I think the opposite way - this is generic functionality. It is an > equivalent of BREAK in FOR loop. Beware of mixed metaphors. Scheduled jobs and schedulers are not the same as language design constructs. And since it's not that hard to implement what you need with existing functionality, my vote stays at -1. ;-) > One more thing. When we have an asynchronous function it is very > common to have a callback function that is called at completion of the > main function. If we have an option to pass a callback function when > we schedule an XQuery function, this will allow us to do post > processing on the results. The question with an async XQuery call is callback to where? Right now, there is no way to guarantee that the initiating XQuery is still running (XQuery being a sort-of, more or less, functional language). Having your async XQuery (initiated using the Scheduler functions) call a separate XQuery at the end to do post processing is not that difficult. -- Andrzej Taramina Chaeron Corporation: Enterprise System Solutions http://www.chaeron.com |