Comments (3)
The work function should also be included, in case you want to do a retry.
map {
'err': {
'description': Same as standard error bindings
...
},
'args': array [ ... ]
'deferred': function#
}
from xq-promise.
Related: W3 Bugzilla #29264, proposed by @apb2006.
from xq-promise.
Fail is now provided a map as proposed by @apb2006!
The additional argument is populated with a map containing the deferred
and the arguments
. This will allow a callback to, for example retry if it gets a busy response.
Additionally error handing has been greatly improved. Errors are now properly reported in BaseX, as well as potential bugs. Also, the fail logic has been revised and properly documented in the ReadMe.
from xq-promise.
Related Issues (16)
- Calling promise fails if worker takes more than one argument HOT 4
- promise:fork HOT 24
- XML transformations cannot be parallelized HOT 1
- XPTY0004 issue with xq-promise 0.8.0 beta HOT 3
- Pass on arguments as array HOT 3
- Add support for EXPath packaging HOT 2
- Success callback called twice on failure
- When should pass non function items
- which promise specification is used as blue print, e.g. all() vs. when() HOT 12
- pure xquery implementation HOT 6
- Support for updates HOT 5
- Rewriting FOR Clause HOT 4
- Promise Module → Async Module? HOT 3
- Update docs to leverage xquery:fork-join
- xq-promise Terminology vs. JavaScript/jQuery
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xq-promise.