phasync
BufferedStream / close

Method

BufferedStream::close

Waits for end(), then closes the stream.

Description#

public BufferedStream::close(): void

Errors / Exceptions#

ExceptionWhen
TimeoutExceptionWhen end() is not called within $deadlockTimeout seconds