Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugStackFramesSource

Hierarchy

  • TreeSource
    • DebugStackFramesSource

Index

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional options: TreeSourceOptions

    Returns DebugStackFramesSource

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(): IterableIterator<TreeElement>
  • init(): void