Revolt is a rock-solid event loop for concurrent PHP applications.

Global
Joined March 2021
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Replying to @amit_merchant
Have a look at the linked example, although it's a bit too simple, as it could be written without fibers as well. What do you actually want to demonstrate?
48
Replying to @amit_merchant
Unfortunately, this doesn't help to understand how fibers are supposed to be used. Fibers should suspend while waiting for I/O, not with the response: revolt.run/fibers
1
3
301
We've released v1.0.3 of the event-loop, fixing an edge case created by last week's v1.0.2 with the improved garbage collection. We've also added checks to ensure you're not running an older PHP version affected by serious GC bugs related to fibers.
1
1
5
846
We've reached 1000 followers already! Let's keep growing the async #phpc by spreading the word! 🥰
2
10
1,181
Revolt PHP retweeted
🎉 We're excited to announce that v3.0 of AMPHP has been released! 🥳 This marks a major milestone for AMPHP and the #async #PHP community. v3 creates coroutines using Fibers instead of Generators and is based on the @revoltphp event-loop. github.com/amphp/amp/release…
1
9
1
32
1,811
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. github.com/revoltphp/event-l…
1
15
44
We're currently working on 0.2.0 with huge performance gains by optimizing the number of fiber switches. We've also enabled discussions, so you can use them instead of issues to discuss, provide feedback, or show what you've built. github.com/revoltphp/event-l…
1
1
11
This turned out to be a DNS configuration error on our side. Thanks @GitHubHelp for the support!
1
If an event callback doesn't suspend, the fiber is reused for the next callback, otherwise a new fiber is created. 🧵
The event loop is aware of fibers, so it's safe to suspend in any event callback or within the error handler. 🧵
1
Revolt's suspension API allows transparent use of non-blocking IO in any library. If the event loop isn't running, top-level suspensions will run it until the awaited condition is fulfilled. 🧵
1
3