@types/event-loop-lag
TypeScript icon, indicating that this package has built-in type declarations

1.0.33 • Public • Published

Installation

npm install --save @types/event-loop-lag

Summary

This package contains type definitions for event-loop-lag (https://github.com/pebble/event-loop-lag).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/event-loop-lag.

index.d.ts

/**
 * Accepts a number of milliseconds representing how often to refresh the event loop lag measurement and returns a function you can call to receive the latest lag measurement in milliseconds.
 */
declare function lag(interval: number): () => number;

export = lag;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Rogier Schouten.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/event-loop-lag

      Weekly Downloads

      1,035

      Version

      1.0.33

      License

      MIT

      Unpacked Size

      3.14 kB

      Total Files

      5

      Last publish

      Collaborators

      • types