File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 55
66Event loop abstraction layer that libraries can use for evented I/O.
77
8+ In order for async based libraries to be interoperable, they need to use the
9+ same event loop. This component provides a common ` LoopInterface ` that any
10+ library can target. This allows them to be used in the same loop, with one
11+ single ` run() ` call that is controlled by the user.
12+
813> The master branch contains the code for the upcoming 0.5 release.
914 For the code of the current stable 0.4.x release, checkout the
1015[ 0.4 branch] ( https://github.com/reactphp/event-loop/tree/0.4 ) .
@@ -53,10 +58,8 @@ $loop->run();
5358
5459## Usage
5560
56- In order for async based libraries to be interoperable, they need to use the
57- same event loop. This component provides a common ` LoopInterface ` that any
58- library can target. This allows them to be used in the same loop, with one
59- single ` run() ` call that is controlled by the user.
61+ Typical applications use a single event loop which is created at the beginning
62+ and run at the end of the program.
6063
6164``` php
6265// [1]
You can’t perform that action at this time.
0 commit comments