mirror of
https://github.com/danog/amp.git
synced 2024-12-03 18:07:57 +01:00
Move from keep_alive to watchers array
This commit is contained in:
parent
ae36a2011d
commit
706bdfa632
@ -287,11 +287,9 @@ final class Loop
|
||||
* "on_readable" => ["enabled" => int, "disabled" => int],
|
||||
* "on_writable" => ["enabled" => int, "disabled" => int],
|
||||
* "on_signal" => ["enabled" => int, "disabled" => int],
|
||||
* "keep_alive" => int,
|
||||
* "watchers" => ["referenced" => int, "unreferenced" => int],
|
||||
* ];
|
||||
*
|
||||
* keep_alive refers to the number of referenced watchers.
|
||||
*
|
||||
* Implementations MAY optionally add more information in the array but
|
||||
* at minimum the above key => value format MUST always be provided.
|
||||
*
|
||||
|
@ -157,11 +157,9 @@ interface LoopDriver
|
||||
* "on_readable" => ["enabled" => int, "disabled" => int],
|
||||
* "on_writable" => ["enabled" => int, "disabled" => int],
|
||||
* "on_signal" => ["enabled" => int, "disabled" => int],
|
||||
* "keep_alive" => int,
|
||||
* "watchers" => ["referenced" => int, "unreferenced" => int],
|
||||
* ];
|
||||
*
|
||||
* keep_alive refers to the number of referenced watchers.
|
||||
*
|
||||
* Implementations MAY optionally add more information in the array but
|
||||
* at minimum the above key => value format MUST always be provided.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user