Class DebeBackend<TBase>

Type Parameters

Hierarchy

Constructors

Properties

adapter: DebeAdapter<IItem>
chunkMode: string = 'parallel'
chunks: number = 1000000
collections: IObject<ICollection> = {}
middlewares: IMiddleware[] = []
options: IBackendOptions

Methods

  • Type Parameters

    • T

    Parameters

    • action: string
    • callback: ((error, value) => void)
        • (error, value): void
        • Parameters

          • error: any
          • value: T

          Returns void

    • options: IListenerOptions

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    • collection: string
    • value: string[]

    Returns Promise<string[]>

  • Parameters

    • action: string
    • collection: string
    • Optional payload: any
    • Optional options: any

    Returns any

Generated using TypeDoc