• Post a message to a message handler to process in the future.

    Parameters

    • handler: IMessageHandler

      The handler which should process the message.

    • msg: Message

      The message to post to the handler.

      Notes

      The message will be conflated with the pending posted messages for the handler, if possible. If the message is not conflated, it will be queued for normal delivery on the next cycle of the event loop.

      Exceptions in hooks and handlers will be caught and logged.

    Returns void