GoLang event_base_loopbreak

request it (245)
GoLang replacement for PHP's event_base_loopbreak [edit | history]



Do you know a GoLang replacement for PHP's event_base_loopbreak? Write it!

PHP event_base_loopbreak

PHP original manual for event_base_loopbreak [ show | php.net ]

event_base_loopbreak

(PECL libevent >= 0.0.1)

event_base_loopbreakAbort event loop

Description

bool event_base_loopbreak ( resource $event_base )

Abort the active event loop immediately. The behaviour is similar to break statement.

Parameters

event_base

Valid event base resource.

Return Values

event_base_loopbreak() returns TRUE on success or FALSE on error.