Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugVariablesSource

Hierarchy

  • TreeSource
    • DebugVariablesSource

Index

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional options: TreeSourceOptions

    Returns DebugVariablesSource

Properties

refresh: ((...arguments: []) => Promise<void>) = ...

Type declaration

    • (...arguments: []): Promise<void>
    • Debounce promise-returning & async functions.

      example
      import pDebounce = require('p-debounce');

      const expensiveCall = async input => input;

      const debouncedFn = pDebounce(expensiveCall, 200);

      for (const i of [1, 2, 3]) {
      debouncedFn(i).then(console.log);
      }
      //=> 3
      //=> 3
      //=> 3

      Parameters

      • Rest ...arguments: []

      Returns Promise<void>

      A function that delays calling fn until after wait milliseconds have elapsed since the last time it was called.

Methods

  • getElements(): Promise<IterableIterator<DebugScope>>
  • init(): void