Options
All
  • Public
  • Public/Protected
  • All
Menu

Module functional/timeIt

Index

References

Functions Functional

References

Renames and re-exports __type

Functional Functions

  • time the executing time for sync/async function

    since

    5.19.0

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

    Parameters

    Returns Promise<number>

    the consumed milliseconds of the function execution

  • Parameters

    Returns number