@@ -29,7 +29,6 @@ For the code of the current stable 0.4.x release, checkout the
2929 * [ addTimer()] ( #addtimer )
3030 * [ addPeriodicTimer()] ( #addperiodictimer )
3131 * [ cancelTimer()] ( #canceltimer )
32- * [ isTimerActive()] ( #istimeractive )
3332 * [ futureTick()] ( #futuretick )
3433 * [ addSignal()] ( #addsignal )
3534 * [ removeSignal()] ( #removesignal )
@@ -357,23 +356,8 @@ cancel a pending timer.
357356
358357See also [ ` addPeriodicTimer() ` ] ( #addperiodictimer ) and [ example #2 ] ( examples ) .
359358
360- You can use the [ ` isTimerActive() ` ] ( #istimeractive ) method to check if
361- this timer is still "active". After a timer is successfully cancelled,
362- it is no longer considered "active".
363-
364359Calling this method on a timer instance that has not been added to this
365- loop instance or on a timer that is not "active" (or has already been
366- cancelled) has no effect.
367-
368- #### isTimerActive()
369-
370- The ` isTimerActive(TimerInterface $timer): bool ` method can be used to
371- check if a given timer is active.
372-
373- A timer is considered "active" if it has been added to this loop instance
374- via [ ` addTimer() ` ] ( #addtimer ) or [ ` addPeriodicTimer() ` ] ( #addperiodictimer )
375- and has not been cancelled via [ ` cancelTimer() ` ] ( #canceltimer ) and is not
376- a non-periodic timer that has already been triggered after its interval.
360+ loop instance or on a timer that has already been cancelled has no effect.
377361
378362#### futureTick()
379363
0 commit comments