Swoole\Event->del

Declaration

<?php
Swoole\Event->del(int $fd)

Parameters

fd

fd of the socket

Return

success

if success, it returns TRUE, otherwise it returns FALSE.

Description

Delete the read, write callback function and flags registed on the Event Loop.

Example