Hosanna UI API v1.30.2-next
    Preparing search index...

    Function createPortPromise

    • Helper function for creating a PortPromise.

      Type Parameters

      • T

      Parameters

      • port: ISGROMessagePort

        The message port to use for resolving the promise.

      • maxMs: number = 30000

      Returns PortPromise<T>

      A new PortPromise instance.