removeWriteStream() public method

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