- 05 May, 2015 1 commit
-
-
Kenton Varda authored
- Reduce noise. - Trace through async callbacks.
-
- 25 Apr, 2015 1 commit
-
-
David Renshaw authored
-
- 19 Feb, 2015 2 commits
-
-
Kenton Varda authored
-
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.
-
- 29 Dec, 2014 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 29 Nov, 2014 1 commit
-
-
Kenton Varda authored
Distinguishing between "local bugs" and "preconditions" was proving difficult in practice, because a precondition failure in one function may very well indicate a bug in a calling function, but the exception may be thrown through that function, thus when caught the classification is nonsensical. The distinction also was not as useful as imagined. So, I eliminated this distinction.
-
- 22 Nov, 2014 1 commit
-
-
Kenton Varda authored
This prevents the compiler from reporting warnings in these headers while compiling application code. Hopefully this will stem the never-ending stream of complaints from people who enable pedantic warnings.
-
- 19 Aug, 2014 1 commit
-
-
Kenton Varda authored
-
- 20 Jun, 2014 1 commit
-
-
Kenton Varda authored
For portions currently copyright by Kenton (most of it), transfer copyright to Sandstorm Development Group, Inc. (Kenton's company). The license change is practically meaningless, as MIT and BSD 2-clause are legally equivalent. However, the BSD 2-clause license is sometimes confused for its ugly siblings, BSD 3-clause and BSD 4-clause. The MIT license is more immediately recognizeable for what it is. Rémy Blank and Jason Choy (the two non-trivial contributors) are on record as approving this change: https://groups.google.com/d/msg/capnproto/xXDd2HUOCcc/gbe_COIuXKYJ
-
- 22 Jan, 2014 1 commit
-
-
David Renshaw authored
-
- 10 Dec, 2013 1 commit
-
-
Kenton Varda authored
-
- 06 Dec, 2013 1 commit
-
-
Kenton Varda authored
Optimize promise tail calls by making ChainPromiseNode automatically detect and remove redundant nodes.
-
- 05 Dec, 2013 2 commits
-
-
Kenton Varda authored
Make all Promise methods consistently consume the promise (returning a new promise when it makes sense), rename daemonize -> detach, and make eagerlyEvaluate() require an error handler (this caught several places where I forgot to use one).
-
Kenton Varda authored
-
- 04 Dec, 2013 1 commit
-
-
Kenton Varda authored
Overhaul the way EventLoop is specialized so that it's possible to hook up to an existing event loop infrastructure that is not KJ-aware. This also makes the async IO API more dependency-injection-friendly.
-
- 30 Nov, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-