mirror of
https://github.com/danog/loop.git
synced 2024-11-26 20:04:44 +01:00
Improve docs
This commit is contained in:
parent
064b1d8d2a
commit
08793c8207
@ -77,6 +77,9 @@ abstract class Loop
|
||||
/**
|
||||
* Resume the loop.
|
||||
*
|
||||
* If resume is called multiple times, and the event loop hasn't resumed the loop yet,
|
||||
* the loop will be resumed only once, not N times for every call.
|
||||
*
|
||||
* @return bool Returns false if the loop is not paused.
|
||||
*/
|
||||
public function resume(): bool;
|
||||
|
@ -218,6 +218,9 @@ abstract class Loop implements Stringable
|
||||
/**
|
||||
* Resume the loop.
|
||||
*
|
||||
* If resume is called multiple times, and the event loop hasn't resumed the loop yet,
|
||||
* the loop will be resumed only once, not N times for every call.
|
||||
*
|
||||
* @return bool Returns false if the loop is not paused.
|
||||
*/
|
||||
public function resume(): bool
|
||||
|
Loading…
Reference in New Issue
Block a user