Temporal Utils by Ian Macalinao
    Preparing search index...

    Function loadTemporal

    • Load the Temporal API as a ponyfill.

      When the runtime already exposes a native globalThis.Temporal, the native implementation is returned as-is and the polyfill is never loaded. Otherwise temporal-polyfill is loaded lazily via a dynamic import() and its exports are returned.

      This function never mutates any globals. If you want polyfill-style global installation, use installTemporal instead.

      Returns Promise<TemporalApi>

      The Temporal API surface (TemporalApi).