@oss-autopilot/core - v1.6.3
    Preparing search index...

    Function timed

    • Time an async operation and log duration in debug mode.

      Type Parameters

      • T

      Parameters

      • module: string

        Module name for log prefix

      • label: string

        Operation label for the timing log

      • fn: () => Promise<T>

        Async function to time

      Returns Promise<T>

      The result of the async function