Results of 1 - 10 of about 159 for events (0.001 sec.)
- parallel | PHP 8.3 10211
- parallel はじめに parallel is a parallel concurrency extension for PHP ≥ 7.2.0. As of parallel 1.2.0, PHP ≥ 8.0.0 is required. A brief description of the concepts core to parallel follows, more detailed information may be found within this
... etween tasks, a parallel\Channel is a socket-like link between tasks that the programmer can use to send and receive data. Events The parallel\Events API implements a native feel ( Traversable ) event loop, and parallel\Events::poll() method. It allows ... . The programmer simply adds channels and futures to the event loop, optionally setting the input for writes with parallel\Events::setInput() , and enters into a foreach: parallel will read from and write to objects as they become available yielding pa ... rallel\Events\Event objects describing the operations that have occurred. 参考 Philosophy Installation Philosophy Functional API paralle ...
-
https://man.mtool.work/php/8.3/book.parallel.html
- The parallel\Events\Input class | PHP 8.3 9740
- The parallel\Events\Input class (0.9.0) Events Input An Input object is a container for data that the parallel\Events object will write to parallel\Channel objects as they become available. Multiple event loops may share an Input container
... - parallel does not verify the contents of the container when it is set as the input for a parallel\Events object. 注意 : When a parallel\Events object performs a write, the target is removed from the input object as if parallel\ ... Events\Input::remove() were called. クラス概要 final class parallel\Events\Input { public function add ( string $target , mixed $value ): void public function remove ( string $target ): void public ... function clear (): void } 目次 parallel\Events\Input::add — Inputs parallel\Events\Input::clear — Inputs parallel\Events\Input::remove — Inputs 他のマニュアルの関連ページ ...
-
https://man.mtool.work/php/8.3/class.parallel-events-input.html
- The parallel\Events class | PHP 8.3 9705
- 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::s
... gets become available and the operations may be performed without blocking the event loop. クラス概要 final class parallel\Events implements Countable , Traversable { /* Input */ public function setInput ( Input $input ): void /* Targets */ public func ... bool $blocking ): void public function setTimeout ( int $timeout ): void /* Polling */ public function poll (): ? parallel\Events\Event } 目次 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 — Polli ...
-
https://man.mtool.work/php/8.3/class.parallel-events.html
- parallel\Events::setBlocking — Behaviour | PHP 8.3 9188
- parallel\Events::setBlocking (0.9.0) parallel\Events::setBlocking — Behaviour 説明 By default when events are polled for, blocking will occur (at the PHP level) until the first event can be returned: Setting blocking mode to false will caus
... e poll to return control if the first target polled is not ready. This differs from setting a timeout of 0 with parallel\Events::setTimeout() , since a timeout of 0, while allowed, will cause an exception to be raised, which may be extremely slow or ... wasteful if what is really desired is non-blocking behaviour. A non-blocking loop effects the return value of parallel\Events::poll() , such that it may be null before all events have been processed. public function parallel\Events::setBlocking ( b ... ool $blocking ): void Shall set blocking mode Exceptions 警告 Shall throw parallel\Events\Error if loop has timeout set. ...
-
https://man.mtool.work/php/8.3/parallel-events.setblocking.html
- parallel\Events::poll — Polling | PHP 8.3 9061
- parallel\Events::poll (0.9.0) parallel\Events::poll — Polling 説明 public function parallel\Events::poll (): ? parallel\Events\Event Shall poll for the next event 戻り値 Should there be no targets remaining, null shall be returned Should th
... is be a non-blocking loop, and blocking would occur, null shall be returned Otherwise, the parallel\Events\Event returned describes the event. Exceptions 警告 Shall throw parallel\Events\Error\Timeout if timeout is used and reach ... ed. 他のマニュアルの関連ページ FastAPI Testing Events: startup ...
-
https://man.mtool.work/php/8.3/parallel-events.poll.html
- parallel\Events::setTimeout — Behaviour | PHP 8.3 8394
- parallel\Events::setTimeout (0.9.0) parallel\Events::setTimeout — Behaviour 説明 By default when events are polled for, blocking will occur (at the PHP level) until the first event can be returned: Setting the timeout causes an exception to
... be thrown when the timeout is reached. This differs from setting blocking mode to false with parallel\Events::setBlocking() , which will not cause an exception to be thrown. public function parallel\Events::setTimeout ( int $timeou ... t ): void Shall set the timeout in microseconds Exceptions 警告 Shall throw parallel\Events\Error if loop is non-blocking. ...
-
https://man.mtool.work/php/8.3/parallel-events.settimeout.html
- parallel\Events::addChannel — Targets | PHP 8.3 8233
- parallel\Events::addChannel (0.9.0) parallel\Events::addChannel — Targets 説明 public function parallel\Events::addChannel ( parallel\Channel $channel ): void Shall watch for events on the given channel Exceptions 警告 Shall throw parallel\
...
-
https://man.mtool.work/php/8.3/parallel-events.addchannel.html
- EventBufferEvent::disable — Disable events read, write, or both on a buffer eve... 8107
- EventBufferEvent::disable (PECL event >= 1.2.6-beta) EventBufferEvent::disable — Disable events read, write, or both on a buffer event 説明 public function EventBufferEvent::disable ( int $events ): bool Disable events Event::READ , Event::
... WRITE , or Event::READ | Event::WRITE on a buffer event. パラメータ events 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBufferEvent::enable() - Enable events read, wri ... te, or both on a buffer event 他のマニュアルの関連ページ Docker docker-compose events Linux JM fanotify(7) Python sys.monitoring Linux JM fanotify_init(2) Linux JM io_getevents(2) Python tkinter.dnd ...
-
https://man.mtool.work/php/8.3/eventbufferevent.disable.html
- EventBufferEvent::getEnabled — Returns bitmask of events currently enabled on t... 8107
- EventBufferEvent::getEnabled (PECL event >= 1.2.6-beta) EventBufferEvent::getEnabled — Returns bitmask of events currently enabled on the buffer event 説明 public function EventBufferEvent::getEnabled (): int Returns bitmask of events curre
... abled on the buffer event パラメータ この関数にはパラメータはありません。 戻り値 Returns integer representing a bitmask of events currently enabled on the buffer event 参考 EventBufferEvent::enable() - Enable events read, write, or both on a buffer eve ... nt EventBufferEvent::disable() - Disable events read, write, or both on a buffer event 他のマニュアルの関連ページ Docker docker-compose events Linux JM fanotify(7) Python ...
-
https://man.mtool.work/php/8.3/eventbufferevent.getenabled.html
- EventConfig::setMaxDispatchInterval — Prevents priority inversion | PHP 8.3 8072
- EventConfig::setMaxDispatchInterval (PECL event >= 2.1.0-alpha) EventConfig::setMaxDispatchInterval — Prevents priority inversion 説明 public function EventConfig::setMaxDispatchInterval ( int $max_interval , int $max_callbacks , int $min_p
... riority ): void Prevents priority inversion by limiting how many low-priority event callbacks can be invoked before checking for more high-priority ... events. 注意 : Available since libevent 2.1.0-alpha . パラメータ max_interval An interval after which Libevent should stop runnin ... g callbacks and check for more events, or 0 , if there should be no such interval. max_callbacks A number of callbacks after which Libevent should stop running ...
-
https://man.mtool.work/php/8.3/eventconfig.setmaxdispatchinterval.html