NewDash
    • time the executing time for sync/async function

      Parameters

      Returns Promise<number>

      the consumed milliseconds of the function execution

      5.19.0

      const consumedMSeconds = await timeIt(async () => {
      // some async operations
      })
    • time the executing time for sync/async function

      Parameters

      Returns number

      the consumed milliseconds of the function execution

      5.19.0

      const consumedMSeconds = await timeIt(async () => {
      // some async operations
      })
    MMNEPVFCICPMFPCPTTAAATR