Constructs EvPrepare watcher object

EvPrepare::__construct

(PECL ev >= 0.2.0)

EvPrepare::__constructConstructs EvPrepare watcher object

說明

public EvPrepare::__construct( string $callback , string $data = ?, string $priority = ?)

Constructs EvPrepare watcher object. And starts the watcher automatically. If need a stopped watcher consider using EvPrepare::createStopped()

參數

callback

See Watcher callbacks .

data

Custom data associated with the watcher.

priority

Watcher priority

參見

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *