1
0
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:
Niklas Keller 2016-05-21 19:49:04 +02:00
parent ae36a2011d
commit 706bdfa632
2 changed files with 2 additions and 6 deletions

View File

@ -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.
*

View File

@ -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.
*