Network\Socket::on_write PHP Méthode

on_write() public méthode

Registers a new handle for client write.
public on_write ( callable $function ) : object
$function callable Function to call on connect.
Résultat object
    public function on_write($function)
    {
        return xp_signal(new SIG_Write($this), $function);
    }