Remove the write event listener for the given stream.
public removeWriteStream ( resource $stream ) | ||
$stream | resource |
/** * @override * @inheritDoc */ public function removeWriteStream($stream) { $this->loop->removeWriteStream($stream); }
/** * @dataProvider loopsProvider * @param LoopExtendedInterface|LoopModelInterface|mixed $loop */ public function testApiRemoveWriteStream_ThrowsNoErrors_OnInvalidStream($loop) { $stream = $this->createStream(); $loop->removeWriteStream($stream); unset($stream); unset($loop); }