Method
BufferedStream::detach
Waits for end(), then returns the content as a file resource and marks the stream detached.
Description#
public BufferedStream::detach()Reading a detached stream throws a RuntimeException.
Return values#
Null when the stream was already detached
Errors / Exceptions#
| Exception | When |
|---|---|
TimeoutException | When end() is not called within $deadlockTimeout seconds |