kernl API
    Preparing search index...

    Function describeAppletMessage

    • Describe one message for AppletMessage reporting, timestamped now.

      Parameters

      • windowId: string

        The applet's window.

      • direction: AppletMessageDirection

        Which way it went.

      • via: "window" | "port"

        The channel it went over.

      • message: unknown

        The message itself.

      Returns AppletMessage

      The report.

      describeAppletMessage('applet-1', 'to-applet', 'port', { type: 'shell.init', id: '1' }).type; // 'shell.init'