The parallel\Events class
(0.9.0)
The Event Loop
The Event loop monitors the state of sets of futures and or channels (targets) in order to perform read (parallel\Future::value(), parallel\Channel::recv()) and write (parallel\Channel::send()) operations as the targets become available and the operations may be performed without blocking the event loop.
Class synopsis
/* Input */
/* Targets */
/* Behaviour */
/* Polling */
}Table of Contents
- parallel\Events::setBlocking — Behaviour
- parallel\Events::setTimeout — Behaviour
- parallel\Events::setInput — Input
- parallel\Events::addChannel — Targets
- parallel\Events::addFuture — Targets
- parallel\Events::remove — Targets
- parallel\Events::poll — Polling
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
