Aaron Piotrowski
|
dae4eb90da
|
Better Emitter fix; fail observable if emitted awaitable fails
|
2016-08-16 13:07:38 -05:00 |
|
Aaron Piotrowski
|
a8a5a1b3a5
|
Fix Emitter
|
2016-08-16 02:28:47 -05:00 |
|
Aaron Piotrowski
|
888229d667
|
Use strict types
|
2016-08-15 23:46:26 -05:00 |
|
Bob Weinand
|
dcf17e3f98
|
Optimize Producer & remove wait until first subscribe
Also delay first emit in Emitter until next tick
|
2016-08-14 16:57:17 +02:00 |
|
Aaron Piotrowski
|
69ec812bc0
|
Require PHP 7
|
2016-08-11 14:52:40 -05:00 |
|
Aaron Piotrowski
|
658edf33f7
|
Use Closure::fromCallable() in 7.1
|
2016-08-11 13:33:51 -05:00 |
|
Aaron Piotrowski
|
24142496d8
|
Rethrow subscriber callback exceptions from loop
|
2016-07-19 15:13:56 -05:00 |
|
Aaron Piotrowski
|
bec838b693
|
Remove leftover exception class
No longer needed as Subscriber is not an awaitable.
|
2016-07-19 13:30:28 -05:00 |
|
Aaron Piotrowski
|
70123b9a44
|
Update Producer::resolve(); fix emitting observable
|
2016-07-19 13:19:44 -05:00 |
|
Aaron Piotrowski
|
9839343bbb
|
Remove default value from emit
|
2016-07-19 13:10:15 -05:00 |
|
Aaron Piotrowski
|
13a6fc59c4
|
Producer::init() -> private
|
2016-07-19 12:42:58 -05:00 |
|
Aaron Piotrowski
|
32b4721c5e
|
Subscriber no longer implements Awaitable
|
2016-07-19 12:40:16 -05:00 |
|
Aaron Piotrowski
|
90d744537e
|
protected -> private in internal traits
|
2016-07-19 12:32:43 -05:00 |
|
Aaron Piotrowski
|
548a9fd556
|
Fix bug when emitting failed awaitable and waiting for a subscriber
|
2016-06-02 17:05:22 -05:00 |
|
Aaron Piotrowski
|
cef5c90168
|
Drop disposable interface; rename dispose() to unsubscribe()
|
2016-06-02 10:42:22 -05:00 |
|
Aaron Piotrowski
|
906d6db47a
|
Update docblocks
|
2016-06-01 11:37:12 -05:00 |
|
Aaron Piotrowski
|
cc431a0374
|
Prevent emit without subscribers
|
2016-05-31 23:02:59 -05:00 |
|
Aaron Piotrowski
|
eb49e6e8ff
|
Resolve emit with observable result instead of emitting
Emitting another observable will emit values from the emitted observable, then resolve the awaitable returned from emit with the observable result
|
2016-05-31 16:23:01 -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 |
|