Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const getEmitter

  • getEmitter(): EventEmitter
  • Get a Event Emitter to implement logging

    Returns EventEmitter

Const listAll

  • listAll(listFunction: Function, concurrency?: number, emitter?: EventEmitter): Promise<{ data: any; meta: any }>
  • List all data from the api using the paging mechanic

    Parameters

    • listFunction: Function

      Function from enetities that you want to get all data from

    • concurrency: number = 2
    • Optional emitter: EventEmitter

      Optional event emitter to implement logging

    Returns Promise<{ data: any; meta: any }>

Generated using TypeDoc