-
Kenton Varda authored
- Promise<T>::catch_() method which is equivalent to then() but you only specify an error handler; the non-error continuation is the identity function. - kj::evalNow() function which synchronously calls a function and returns a promise for the result, or a broken promise if the function threw an exception. This is convenient for making sure exceptions get pushed into the promise chain. - KJ_WARN_UNUSED_RESULT on various methods that return promises.
bb386f1b
Name |
Last commit
|
Last update |
---|---|---|
c++ | ||
doc | ||
highlighting | ||
.gitignore | ||
CONTRIBUTORS | ||
LICENSE | ||
README.md | ||
RELEASE-PROCESS.md | ||
mega-test-quick.cfg | ||
mega-test.cfg | ||
mega-test.py | ||
release.sh | ||
style-guide.md | ||
super-test.sh |