Daniel Lowrey
1cb293b776
Remove Combinator/Resolver in favor of functions
...
This commit removes the Combinator and Resolver classes altogether.
The relevant functionality is now concentrated entirely in the
analogous functions:
- all()
- some()
- any()
- first()
- map()
- filter()
- resolve()
Additionally, all Promisor implementations now *require* a Reactor
upon instantiation. Previously this parameter could be null and the
static singleton reactor instance would be used automatically.
2014-11-24 23:14:07 -05:00
Daniel Lowrey
c28e143828
Remove watchStream() ... aliases are bad
2014-11-05 11:50:46 -05:00
Daniel Lowrey
70222364d5
Use singleton reactor instance in functions
2014-11-04 09:46:12 -05:00
Daniel Lowrey
7b11a8e0c3
Rename any() -> some(), change any() to never fail
2014-10-22 18:14:43 -04:00
Andrey Janzen
27a0b8ff2c
add missed $func passing in map() & filter()
2014-10-15 18:07:35 +04:00
Daniel Lowrey
969d15ebe8
Add Combinator class
2014-09-23 23:47:20 -04:00
Daniel Lowrey
7064ec5dc8
Migrate repo to amphp/amp
2014-09-23 00:06:03 -04:00
Daniel Lowrey
56e720cd50
Merge concurrency primitives
2014-09-22 22:21:22 -04:00
Daniel Lowrey
75e43cdcf8
Reorder Reactor::watchStream() params
2014-08-06 15:52:43 -04:00
Daniel Lowrey
0dfac49cd2
Fix minor screwups, normalize casing, etc
2014-08-06 14:26:03 -04:00
Daniel Lowrey
15b7b4ad80
Add UvReactor signal handling support
2014-08-06 00:32:13 -04:00
Daniel Lowrey
5878430a0c
Update Reactor WATCH constants, remove Reactor::POLL_SOCK
2014-08-06 00:25:47 -04:00
Daniel Lowrey
9f9a2d8b6b
Cache static resources to minimize call overhead, add documentation
2014-08-02 02:09:39 -04:00
Daniel Lowrey
6777532a66
Added functions, reactor globals
2014-08-01 15:37:02 -04:00