1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 05:11:42 +01:00

Add pending signals to third tick step

This commit is contained in:
Niklas Keller 2017-01-22 17:09:35 +01:00
parent 7f3a0db4c9
commit f648dd50e8

View File

@ -21,7 +21,7 @@ abstract class Driver
*
* 1. Activate watchers created / enabled in the last tick / before `run()`.
* 2. Execute all enabled defer watchers.
* 3. Execute all due timer and actionable stream callbacks, each only once per tick.
* 3. Execute all due timer, pending signal and actionable stream callbacks, each only once per tick.
*
* The loop MUST continue to run until it is either stopped explicitly, no referenced watchers exist anymore, or an
* exception is thrown that cannot be handled. Exceptions that cannot be handled are exceptions thrown from an