Interop\Async\Loop\Driver::enable PHP Method

enable() abstract public method

Watchers (enabling or new watchers) MUST immediately be marked as enabled, but only be activated (i.e. callbacks can be called) right before the next tick. Callbacks of watchers MUST not be called in the tick they were enabled.
abstract public enable ( string $watcherId ) : void
$watcherId string The watcher identifier.
return void
    public abstract function enable($watcherId);