Aaron Piotrowski
|
7bc08b9a6a
|
Replace leftover LogicExceptions exceptions with Error
|
2016-08-12 16:58:53 -05:00 |
|
Aaron Piotrowski
|
66c38e1480
|
Refactor Amp\coroutine()
Any function can now be passed to this function, which now returns a function returning an awaitable.
|
2016-08-12 14:50:44 -05:00 |
|
Aaron Piotrowski
|
69ec812bc0
|
Require PHP 7
|
2016-08-11 14:52:40 -05:00 |
|
Aaron Piotrowski
|
aa7b76e842
|
Add awaitable/coroutine-aware loop functions
These functions mirror the standard loop methods, but run returned Generators as coroutines and invoke rethrow() on returned awaitables.
|
2016-08-02 12:48:32 -05:00 |
|
Aaron Piotrowski
|
13908fe2e5
|
Add concat() function
|
2016-08-01 11:10:59 -05:00 |
|
Aaron Piotrowski
|
9055f159e7
|
Revert some() to v1 behavior
|
2016-07-31 00:31:04 -05:00 |
|
Aaron Piotrowski
|
c2caca9d02
|
Fix functions using Subscriber as Awaitable
Use PHP_INT_MAX instead of 0 for infinite interval() count.
|
2016-07-20 08:53:18 -05:00 |
|
Aaron Piotrowski
|
8e794ba1d7
|
Fix stream()
|
2016-07-19 15:24:05 -05:00 |
|
Bob Weinand
|
1642bf9195
|
s/settle/any/ which now returns [$errors, $succeeds]
|
2016-07-19 21:39:09 +02:00 |
|
Aaron Piotrowski
|
dad93a6da0
|
Merge branch 'observable' into v2
|
2016-07-18 23:29:19 -05:00 |
|
Aaron Piotrowski
|
b9d554dd7b
|
Add more functions
|
2016-07-18 23:23:25 -05:00 |
|
Aaron Piotrowski
|
3f654cbd5b
|
Initial tests plus some fixes
|
2016-07-12 11:20:06 -05:00 |
|
Aaron Piotrowski
|
60d560d70e
|
Add $className param to capture(); other cleanup
|
2016-06-14 21:40:04 -05:00 |
|
Aaron Piotrowski
|
5715bec9e1
|
Refactor functions with Emitter
|
2016-06-02 10:43:46 -05:00 |
|
Aaron Piotrowski
|
57e25f9354
|
Simpler implementation
|
2016-05-29 11:46:58 -05:00 |
|
Aaron Piotrowski
|
4a2baa670e
|
Subscriber model
|
2016-05-27 15:44:01 -05:00 |
|
Aaron Piotrowski
|
99eecc1a3f
|
Refactor
|
2016-05-26 18:20:05 -05:00 |
|
Aaron Piotrowski
|
3edab2dfd3
|
Put Loop::get() back
Why do I keep thinking null uses the current loop... bah
|
2016-05-26 18:15:33 -05:00 |
|
Aaron Piotrowski
|
dd70850682
|
Remove driver argument
|
2016-05-26 00:09:50 -05:00 |
|
Aaron Piotrowski
|
a9362780ed
|
Initial commit
|
2016-05-24 11:47:14 -05:00 |
|
Aaron Piotrowski
|
ccec7acc94
|
Remove Exception namespace
|
2016-05-24 10:39:19 -05:00 |
|
Aaron Piotrowski
|
6d263ffb84
|
Drop Awaitable from namespace
|
2016-05-23 22:48:28 -05:00 |
|
Aaron Piotrowski
|
13e807d564
|
Throw on repeated resolution
|
2016-05-23 21:32:41 -05:00 |
|
Aaron Piotrowski
|
6fc6ad1ab5
|
Throw instead of returning Failure object
|
2016-05-23 10:19:48 -05:00 |
|
Aaron Piotrowski
|
28577cf6e6
|
Add Pause; update for timer watcher changes in loop
|
2016-05-23 00:44:35 -05:00 |
|
Aaron Piotrowski
|
b572f9be40
|
Rename and move Promise
|
2016-05-22 13:26:53 -05:00 |
|
Aaron Piotrowski
|
de3ada9014
|
Cleanup functions; rename any() to first(); remove resolve()
|
2016-05-22 10:53:13 -05:00 |
|
Niklas Keller
|
0b954b2515
|
Fix wait to reuse current default loop
|
2016-05-22 10:57:31 +02:00 |
|
Niklas Keller
|
9f4d38471d
|
Remove 'fail', clean up signatures
|
2016-05-22 10:57:10 +02:00 |
|
Aaron Piotrowski
|
9c541b0faa
|
Rename Lazy to LazyAwaitable
|
2016-05-21 23:47:50 -05:00 |
|
Aaron Piotrowski
|
a6fbc13d89
|
Remove defined check
|
2016-05-21 12:19:48 -05:00 |
|
Aaron Piotrowski
|
345bf78ac2
|
Double-quote strings
|
2016-05-21 12:12:55 -05:00 |
|
Aaron Piotrowski
|
a309a243c2
|
Fix formatting
|
2016-05-21 12:07:08 -05:00 |
|
Aaron Piotrowski
|
c7f64ce2c0
|
Initial commit
|
2016-05-21 09:44:52 -05:00 |
|