Commit graph

62 commits

Author SHA1 Message Date
Mathias Stearn
b87ef65532 Use addCallback rather than callback= in asyncfutures.all() (#6850)
* Use addCallback rather than callback= in asyncfutures.all()

Addresses part of #6849

* Stop using do notation for #6849

* Update example style
2017-12-09 00:55:04 +00:00
Dominik Picheta
325e4520ec Implements `asyncdispatch.getIoHandler` and assert on nil futures. 2017-11-24 16:30:56 +00:00
Erik Johansson Andersson
24fd86f8ee make asyncfutures.complete compile 2017-07-18 18:10:01 +02:00
Michał Zieliński
cb5b1c9344 asyncdispatch: formatting fixes 2017-07-12 10:23:48 +02:00
Michał Zieliński
6bdd00db0e asyncdispatch: add callSoon getter/setter, renames 2017-07-06 13:27:42 +02:00
Michał Zieliński
797690ba3f Future: support for multiple callbacks 2017-07-05 12:54:09 +02:00
Michał Zieliński
93827e6ab8 split FutureStream from asyncfutures 2017-07-05 12:54:09 +02:00
Michał Zieliński
e86863e8f5 asyncdispatch: split asyncfutures into its own module
This slightly changes behaviour of callSoon - before loop is initialized, callSoon will call the function immediately.
2017-07-05 12:54:09 +02:00
Andreas Rumpf
21e35c201c made async compile again 2016-09-26 23:31:36 +02:00
Andreas Rumpf
0699305121 revert brainless changes 2016-09-26 23:23:47 +02:00
Andreas Rumpf
cfae650750 make travis green 2016-09-26 23:19:09 +02:00
Dominik Picheta
6aa8ff9af6 Moves async futures into asyncfutures module. 2016-09-25 18:24:35 +02:00