• Send a message to a message handler to process immediately.

    Parameters

    • handler: IMessageHandler

      The handler which should process the message.

    • msg: Message

      The message to deliver to the handler.

      Notes

      The message will first be sent through any installed message hooks for the handler. If the message passes all hooks, it will then be delivered to the processMessage method of the handler.

      The message will not be conflated with pending posted messages.

      Exceptions in hooks and handlers will be caught and logged.

    Returns void