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
2fd6538e47
Fix infinite loop on nested immediately watchers in LibeventReactor
2014-10-22 22:18:34 -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
df47c6f09b
Use string watcher IDs
2014-08-22 14:08:31 -04:00
Daniel Lowrey
c7c5b0ba8f
Standardize all watcher invocation params to: func($reactor, $watcherId, $data)
2014-08-09 10:30:32 -04:00
Daniel Lowrey
2dfc44e548
Reactor::at() now accepts unix timestamp as well as strtotime() parsable string
2014-08-06 21:29:08 -04:00
Daniel Lowrey
ba70840e8b
Update documentation
2014-08-06 16:01:24 -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
5878430a0c
Update Reactor WATCH constants, remove Reactor::POLL_SOCK
2014-08-06 00:25:47 -04:00
Daniel Lowrey
d5b6266a82
Pass Reactor instance to onStart callbacks
2014-07-18 16:56:02 -04:00
Daniel Lowrey
c2b311eebb
Miscellaneous changes
2014-06-11 12:24:46 -04:00
Daniel Lowrey
4ad6dae260
Clear stop exception before throwing
2014-06-11 10:16:22 -04:00
Daniel Lowrey
4fda4967b2
Fix broken Reactor::at millisecond resolutions
2014-06-11 10:08:19 -04:00
Daniel Lowrey
3b2feb82bc
Add SignalHandler interface
2014-04-22 23:12:05 -04:00
Daniel Lowrey
c4c65027dd
Removed unnecessary clutter
2014-04-22 20:49:05 -04:00
Daniel Lowrey
62c3503abb
Add libevent onSignal handler
2014-04-22 20:45:20 -04:00
Daniel Lowrey
885969ff84
Time intervals now expressed in milliseconds (was seconds)
2014-03-07 12:02:03 -05:00
Daniel Lowrey
861cb58023
File structure reorganization
2014-03-06 09:53:16 -05:00