GoLang Swoole\Client::on

request it (46)
GoLang replacement for PHP's Swoole\Client::on [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Client::on? Write it!

PHP Swoole\Client::on

PHP original manual for Swoole\Client::on [ show | php.net ]

Swoole\Client::on

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Client::onAdd callback functions triggered by events.

Description

public void Swoole\Client::on ( string $event , callable $callback )

Parameters

event

callback