kernl API
    Preparing search index...

    Function createIntentDelivery

    • Deliver an accepted intent to its target.

      A running window of the handler is reused unless the request said reuse: false, and focused unless it said focus: false; otherwise the host opens the applet. The delivery is retried until the target's session is live and holds the intent domain, because the runtime delivers only to an eligible recipient (NAP-INTENT: "deliver only after the target is ready"). The source window plays no part after acceptance.

      Parameters

      Returns (params: IntentDispatchParams) => Promise<void>

      The target controller's delivery function.

      unavailable:handler when the handler is no longer installed, unavailable:window when it did not open, unavailable:delivery when it never became eligible.

      const deliver = createIntentDelivery({ installed, findWindow, openApplet: host.openApplet, send });
      await deliver(params);