Class Watcher

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

class Watcher ;

Fields

NameTypeDescription
active boolWhether the watcher is active.

Methods

NameDescription
invoke () Invoke some action on event.