KofiLoop
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Classes

Interfaces

Functions

Functions

registerLoop

  • registerLoop(handler: Promise<any> | function, interval: number, ...args: any[]): LoopReturn
  • Registers a new loop but don't start it.

    see

    LoopSelf for handler scope ('this' reference).

    Parameters

    • handler: Promise<any> | function
    • interval: number

      The interval in milliseconds

    • Rest ...args: any[]

      Some arguments to pass to function

    Returns LoopReturn

startLoop

  • startLoop(handler: Promise<any> | function, interval: number, ...args: any[]): LoopReturn
  • Starts a new loop.

    see

    LoopSelf for handler scope ('this' reference).

    Parameters

    • handler: Promise<any> | function
    • interval: number

      The interval in milliseconds

    • Rest ...args: any[]

      Some arguments to pass to function

    Returns LoopReturn

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc