Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Event Loop Laravel Package

revolt/event-loop

Revolt is a rock-solid event loop for concurrent PHP 8.1+ apps using fibers. It enables non-blocking I/O with synchronous code, serving as a minimal, shared scheduler base for libraries like Amp and ReactPHP.

View on GitHub
Deep Wiki
Context7
v1.0.8

What's Changed

New Contributors

Full Changelog: https://github.com/revoltphp/event-loop/compare/v1.0.7...v1.0.8

v1.0.7

What's Changed

Full Changelog: https://github.com/revoltphp/event-loop/compare/v1.0.6...v1.0.7

v1.0.6

What's Changed

  • Fixed re-entering the event loop from {main} after the loop ended with an un-resumed suspension.

Full Changelog: https://github.com/revoltphp/event-loop/compare/v1.0.5...v1.0.6

v1.0.5

What's Changed

Full Changelog: https://github.com/revoltphp/event-loop/compare/v1.0.4...v1.0.5

v1.0.4

What's Changed

  • Renamed a private property in UvDriver to avoid a PHP JIT bug.

Full Changelog: https://github.com/revoltphp/event-loop/compare/v1.0.3...v1.0.4

v1.0.3

What's Changed

Full Changelog: https://github.com/revoltphp/event-loop/compare/v1.0.2...v1.0.3

v1.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/revoltphp/event-loop/compare/v1.0.0...v1.0.1

v1.0.0

We're proud to announce our initial stable release! The event loop is ready for production use, has been tested in various different applications and scenarios, and fully supports fibers.

What's Changed

  • Added EventLoop::getIdentifiers (#62)
  • Added EventLoop::getType (#62)
  • Added EventLoop::isEnabled (#62)
  • Added EventLoop::isReferenced (#62)
  • Fixed EventLoop::getErrorHandler missing the static modifier
  • Fixed double wrapping in UncaughtThrowable if a decorating event loop driver throws an UncaughtThrowable (#61)
  • Removed EventLoop::getInfo, use EventLoop::getIdentifiers() in combination with EventLoop::isEnabled, EventLoop::isReferenced, and EventLoop::getType instead (#62)
  • Removed EventLoop::createSuspension, use EventLoop::getSuspension instead

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.2.5...v1.0.0

v0.2.5

What's Changed

  • PHP 8.1 is now required (#55)
  • Fix compatibility with 8.2 by fixing a deprecation notice (#58)
  • Fixed an integer overflow on timers if a large (e.g. PHP_INT_MAX) timeout is requested (#49)
  • Removed the reference kept to microtask (EventLoop::queue()) callback arguments so passed objects may be garbage collected if a resulting fiber unsets all references to the argument (#60)

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.2.4...v0.2.5

v0.2.4

What's Changed

  • Fixed the fiber reference in DriverSuspension being nulled early during shutdown, leading to an assertion error when attempting to resume the suspension.

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.2.3...v0.2.4

v0.2.3

What's Changed

  • Fixed Undefined property: Revolt\EventLoop\Internal\DriverSuspension::$fiber in an error path

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.2.2...v0.2.3

v0.2.2

What's Changed

New Contributors

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.2.1...v0.2.2

v0.2.1

What's Changed

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.2.0...v0.2.1

v0.2.0

This release is mostly backwards compatible with v0.1.x.

What's Changed

  • Add FiberLocal to store data specific to each fiber, e.g. logging context (#40)
  • Throw UnhandledThrowable if event loop stops due to an exception (#32)
  • Reduce fiber switches by queueing callbacks for each tick (#34)
  • Avoid creating unnecessary fibers if exceptions are thrown from callbacks
  • Add EventLoop::getErrorHandler() to get the currently set error handler
  • Remove return value of EventLoop::setErrorHandler(), use EventLoop::getErrorHandler() instead
  • Remove default value for first argument of EventLoop::setErrorHandler() (#30)
  • Cache suspensions and always return the same value for a specific fiber (#37)
    • EventLoop::getSuspension() has been added as replacement for EventLoop::createSuspension()
    • EventLoop::createSuspension() has been deprecated and will be removed in the next version
  • Fix multiple interrupts on double resumption leading to an assertion error instead of an exception (#41)
  • Fix suspensions keeping their pending state after the event loop exceptionally stopped

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.1.1...v0.2.0

v0.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/revoltphp/event-loop/compare/v0.1.0...v0.1.1

v0.1.0

Initial development release.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport