Type alias WithTaskCollectionAction<TResult>

WithTaskCollectionAction<TResult>: ((collection) => PromiseLike<TResult>)

Type Parameters

  • TResult = any

Type declaration

    • (collection): PromiseLike<TResult>
    • Action for a function / method that works with a Mongo collection storing IMongoQueueTaskDocument documents.

      Parameters

      Returns PromiseLike<TResult>

      The promise with the result of the action.

Generated using TypeDoc