Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Kraken
Loop
LoopResourceInterface
PHP Interface Kraken\Loop\LoopResourceInterface
Inheritance:
extends
LoopAwareInterface
Afficher le fichier
Open project: kraken-php/framework
Méthodes publiques
Méthode
Description
isPaused
( ) :
boolean
Check if resource is paused or not.
pause
( )
Temporarily pause the resource.
resume
( )
Resume the resource.
Method Details
isPaused()
public
méthode
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
Résultat
boolean
pause()
public
méthode
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()
public
méthode
This method allows to reattach all resources of given object back to its original writable and readable streams of active loop.
public
resume
( )