Interface IQueueOptions<TStorage>

Options for a Queue instance.

Type Parameters

Hierarchy

  • IQueueOptions

Properties

storageClass?: Nilable<Constructor<TStorage>>

A custom storage or a function, which provides it.

If not defined, a new instance of MemoryQueueStorage class is created.

storageClassArgs?: Nilable<any[]>

One or more arguments for the class contructor of storageClass.

Generated using TypeDoc