NativeStreamSelector
in package
implements
StreamSelectorInterface
FinalYes
Нативный stream_select.
Tags
Table of Contents
Interfaces
- StreamSelectorInterface
- Абстракция stream_select для тестируемости и MSI.
Methods
- select() : int|false
- Обёртка над stream_select с секундами и микросекундами.
Methods
select()
Обёртка над stream_select с секундами и микросекундами.
public
select(array<string|int, mixed>|null &$read, array<string|int, mixed>|null &$write, array<string|int, mixed>|null &$except, int $seconds[, int $microseconds = 0 ]) : int|false
Parameters
- $read : array<string|int, mixed>|null
- $write : array<string|int, mixed>|null
- $except : array<string|int, mixed>|null
- $seconds : int
- $microseconds : int = 0
Attributes
- #[Override]