Niklas Keller
|
0006c6cb56
|
Fix async-interop docblock leftover
|
2017-03-12 21:39:17 +01:00 |
|
Aaron Piotrowski
|
2cc4cf9d0b
|
Fix use statement order
|
2017-03-12 12:23:48 -05:00 |
|
Aaron Piotrowski
|
f040e8801e
|
Fast return on void watcher callback
|
2017-03-12 12:23:27 -05:00 |
|
Aaron Piotrowski
|
cd4328ab48
|
Merge branch 'react-compatibility'
|
2017-03-12 11:38:48 -05:00 |
|
Pieter Hordijk
|
2db7bed1b6
|
Fixed typos an promise -> a promise
|
2017-03-12 17:36:07 +01:00 |
|
Niklas Keller
|
d748855a51
|
Fix some risky tests
|
2017-03-12 17:33:46 +01:00 |
|
Niklas Keller
|
f5f9410ec0
|
Rename Factory to DriverFactory, rename supported to isSupported
|
2017-03-12 11:25:21 +01:00 |
|
Niklas Keller
|
766b3224d1
|
Rename drivers to have a Driver instead of Loop suffix
|
2017-03-12 11:21:44 +01:00 |
|
Aaron Piotrowski
|
a98fe5cdf6
|
Rethrow React promise rejections
Adapt React promises returned from watcher callbacks to promises so that rethrow is called on them.
|
2017-03-11 09:17:55 -06:00 |
|
Aaron Piotrowski
|
7ad10f5d7d
|
Add support for React promises
|
2017-03-11 09:17:43 -06:00 |
|
Aaron Piotrowski
|
7ebe70e0ae
|
Fix docblock param formatting
Callable prototypes make alignment a mess… maybe something better can be done.
|
2017-03-10 23:08:40 -06:00 |
|
Aaron Piotrowski
|
2a9d7cb97b
|
Remove unnecessary parameter
|
2017-03-10 22:59:11 -06:00 |
|
Aaron Piotrowski
|
85de9f1f1e
|
Remove missed wrap call
|
2017-03-10 16:23:29 -06:00 |
|
Aaron Piotrowski
|
1fea860a05
|
Run watcher callbacks as coroutines within drivers
|
2017-03-10 16:03:41 -06:00 |
|
Aaron Piotrowski
|
ca30af4d22
|
More type declarations in loop component
|
2017-03-10 15:46:12 -06:00 |
|
Aaron Piotrowski
|
1929715b97
|
Remove driver nullability
|
2017-03-10 15:34:52 -06:00 |
|
Aaron Piotrowski
|
754a29e86c
|
Remove promise error handler
Exceptions thrown from when callbacks are now forwarded directly to the loop error handler.
|
2017-03-10 15:32:58 -06:00 |
|
Niklas Keller
|
be34c49a2d
|
Fixup all remaining issues, tests pass locally
|
2017-03-10 22:20:28 +01:00 |
|
Niklas Keller
|
dd8993b98e
|
Fix AsyncInterop → Amp in ErrorHandler
|
2017-03-10 22:09:49 +01:00 |
|
Niklas Keller
|
0be9ae9ade
|
Switch from AsyncInterop\Promise to Amp\Promise
|
2017-03-10 21:58:46 +01:00 |
|
Niklas Keller
|
e64bbfb9f5
|
Add Loop::set, auto-wrapping, fixup things
|
2017-03-10 21:31:57 +01:00 |
|
Niklas Keller
|
21561661a2
|
Fixup after repository merge
|
2017-03-10 19:19:32 +01:00 |
|
Niklas Keller
|
f4f9008ca0
|
Merge amphp/amp repository into amphp/amp
|
2017-03-10 18:26:17 +01:00 |
|
Aaron Piotrowski
|
72378e2b82
|
Add Amp\call()
|
2017-02-22 15:52:30 -06:00 |
|
Aaron Piotrowski
|
bb51720818
|
Always use persistent flag for timer
cancel() is called when delay timers are executed anyway, so it doesn't matter what the flags are for the event.
|
2017-02-16 23:39:11 -06:00 |
|
Aaron Piotrowski
|
9073f6c999
|
Docblock cleanup
|
2017-02-16 22:36:32 -06:00 |
|
Aaron Piotrowski
|
d7e8a9de84
|
Calling stop() in nested loop should not stop outer loop
|
2017-02-16 22:20:10 -06:00 |
|
Aaron Piotrowski
|
b72e504eab
|
Ensure correct argument order in multi-argument lift
|
2017-02-09 22:34:24 -06:00 |
|
Aaron Piotrowski
|
3861c6b5da
|
Simpler each and filter implementation
|
2017-02-09 22:17:45 -06:00 |
|
Aaron Piotrowski
|
5dade2443f
|
Fix error in Message with empty stream
|
2017-01-31 17:30:05 -06:00 |
|
Aaron Piotrowski
|
5f284b2f70
|
Refactor Message, add Iterator
|
2017-01-31 17:09:38 -06:00 |
|
Niklas Keller
|
a69bf4d3a0
|
Improve type hints / types
|
2017-01-16 17:39:24 +01:00 |
|
Aaron Piotrowski
|
0631560c65
|
Merge pull request #62 from amphp/drop-choose
Drop Amp\choose
|
2017-01-15 08:49:11 -06:00 |
|
Aaron Piotrowski
|
e3cb5dc385
|
Merge pull request #54 from amphp/ex-msg
Make exception messages more generic
|
2017-01-15 08:48:56 -06:00 |
|
Aaron Piotrowski
|
84917e7786
|
Add Message and Listener::getBuffered()
|
2017-01-13 18:46:32 -06:00 |
|
Aaron Piotrowski
|
df901a0305
|
Remove stream() method from Listener
|
2017-01-13 18:12:38 -06:00 |
|
Niklas Keller
|
8f245fa677
|
Drop Amp\choose
|
2017-01-13 19:09:17 +01:00 |
|
Aaron Piotrowski
|
a643f9a260
|
Remove last consumed value from listener before drain
|
2017-01-11 20:13:12 -06:00 |
|
Niklas Keller
|
6312ac15aa
|
Fix invalid watcher exception construction
|
2017-01-11 14:28:27 +01:00 |
|
Aaron Piotrowski
|
4c48037295
|
Add reference/unreference methods to Pause
|
2017-01-08 01:15:57 -06:00 |
|
Aaron Piotrowski
|
ae28eae552
|
Lazy → LazyPromise
|
2017-01-08 01:02:11 -06:00 |
|
Aaron Piotrowski
|
5ad1fdb38b
|
Add more Listener tests and kill another Humbug mutant
|
2017-01-08 00:22:07 -06:00 |
|
Niklas Keller
|
3b46c168a5
|
Improve tests and kill some Humbug mutants
|
2017-01-07 22:55:34 +01:00 |
|
Aaron Piotrowski
|
2976ebdbb5
|
Throw on consecutive calls to Listener::advance(); better property names
|
2017-01-07 12:31:36 -06:00 |
|
Aaron Piotrowski
|
cf5ebb1408
|
Better error message when emitting after resolve
|
2017-01-07 12:25:04 -06:00 |
|
Aaron Piotrowski
|
cba57dd81e
|
Simplify PrivatePromise and PrivateStream
|
2017-01-07 12:24:40 -06:00 |
|
Niklas Keller
|
ae69e92266
|
Update to promise 0.4.0 and event-loop 0.5.0, add humbug config
|
2017-01-07 13:47:45 +01:00 |
|
Niklas Keller
|
568183b261
|
Update to event-loop 0.5.0
|
2017-01-07 13:45:03 +01:00 |
|
Aaron Piotrowski
|
a47fc2bc01
|
Don't call uv_stop()
libuv will actually stop mid-tick, making the behavior inconsistent with the other loop implementations.
|
2017-01-06 10:50:05 -06:00 |
|
Aaron Piotrowski
|
e169bb649c
|
Remove unnecessary temp variable
|
2017-01-06 10:21:58 -06:00 |
|