Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Kraken
Loop
LoopResourceInterface
PHP Интерфейс Kraken\Loop\LoopResourceInterface
Наследование:
extends
LoopAwareInterface
Показать файл
Открыть проект
Открытые методы
Метод
Описание
isPaused
( ) :
boolean
Check if resource is paused or not.
pause
( )
Temporarily pause the resource.
resume
( )
Resume the resource.
Описание методов
isPaused()
публичный
метод
This method allow to check whether the object is in paused state, meaning all of streams it contains are detached from loop or are they still active.
public
isPaused
( ) :
boolean
Результат
boolean
pause()
публичный
метод
This method allows to detach all resources contained within the object from writable and readable streams of active loop, preventing from writing or reading any data done by it.
public
pause
( )
resume()
публичный
метод
This method allows to reattach all resources of given object back to its original writable and readable streams of active loop.
public
resume
( )