Watcher

A watcher is an opaque structure that you allocate and register to record your interest in some event.

abstract
class Watcher {}

Members

Functions

invoke
void invoke()

Invoke some action on event.

Variables

active
bool active;

Whether the watcher is active.

Meta