This method is not documented.
| wild | A message, or null if no message is available. |
| wild | $bytes | Data to write to the channel, normally bytes. |
| list<PhutilChannel> | $channels | A list of channels to wait for. |
| dict | $options | Options, see above. |
| list<PhutilChannel> | $reads | List of channels to wait for reads on. |
| list<PhutilChannel> | $writes | List of channels to wait for writes on. |
| array | $options | |
| bool | True if the channel is still open. |
| string | Name of the channel. |
| bool | True if the channel is open. |
| bool | True if the channel is open for reading. |
| bool | True if the channel is open for writing. |
| int | $length | Maximum number of bytes to read. |
| string | Bytes, if available. |
| string | $bytes | Bytes to write. |
| int | Number of bytes written. |
| list<stream> | Read sockets. |
| list<stream> | Write sockets. |
| int|null | $size | Maximum read buffer size, or `null` for a limitless buffer. |
| bool | True if the read buffer is empty. |
| bool | True if the write buffer is empty. |
| int | Number of waiting bytes. |
This method is not documented.
This method is not documented.
This method is not documented.
| wild | $message | Some message. |
| wild | $message | Some message. |
| string | Encoded string for transmission to the server. |
| string | $data | One or more bytes from the underlying channel. |
| list<pair<string,string>> | Zero or more complete messages. |