handler property

void handler= (Function newHandler)

Sets the handler that is invoked for every incoming message.

The handler is invoked in the root-zone (Zone.root).

Implementation

void set handler(Function newHandler);