Releases: amphp/amp
Releases · amphp/amp
2.5.1
2.5.0
- Add
Amp\Iterator\discard()
(#315) - Fix potential warning on shutdown in UvDriver
- Fix repeat watchers in
NativeDriver
that are disabled and re-enabled during callback invocation (#325) - Fix timer intervals being counted from timer creation instead of last tick time (#319)
Loop::now()
/Driver::now()
is no longer cached in each tick
2.4.4
- Fixed
Delayed::reference()
/Delayed::unreference()
after the promise resolved - Changed return type of
Delayed::reference()
/Delayed::unreference()
toself
to allow fluid API usage - Add generics for
Amp\Promise\wait
- Improved types for
Amp\call
/Amp\coroutine
2.4.3
2.4.2
2.4.1
2.4.0
- Added
getCurrentTime()
as public API, providing millisecond timestamps for runtime measurements with special support for 32 bit systems. Returned timestamps are relative to an arbitrary point in time, so this API is only suitable to compare two timestamps generated in the same process.
2.3.2
2.3.1
2.3.0
- Added
TracingDriver
to debug (hanging) tests / applications. The environment variableAMP_DEBUG_TRACE_WATCHERS=true
can be set to automatically create aTracingDriver
wrapping the actual driver.TracingDriver::dump()
can be used to dump all enabled, referenced watchers keeping the loop running.