Type alias MessageHook

MessageHook: IMessageHook | ((handler, msg) => boolean)

A type alias for message hook object or function.

Notes

The signature and semantics of a message hook function are the same as the messageHook method of IMessageHook.

Type declaration