@wxn0brp/db-core
    Preparing search index...

    Class SmartExecutor

    A smart executor for queuing and executing asynchronous operations with a TTL.

    Implements

    Index
    • Parameters

      • ttl: number = ...
      • aware: boolean = true

      Returns SmartExecutor

    aware: boolean = true
    collections: Map<string, SmartExecutorEntry> = ...
    ttl: number = ...
    • Parameters

      • func: Function
      • query: any
      • collection: string

      Returns Promise<any>