Preparing search index...
The search index is not available
The Extollo Framework
The Extollo Framework
CacheQueue
Class CacheQueue
Queue implementation that uses the configured cache driver as a queue.
Hierarchy
Queue
CacheQueue
Index
Constructors
constructor
Properties
bus
cache
name
serial
Accessors
queue
Identifier
Methods
dispatch
pop
push
Constructors
constructor
new
Cache
Queue
(
name
:
string
)
:
CacheQueue
Parameters
name:
string
Returns
CacheQueue
Properties
Protected
Readonly
bus
bus
:
Bus
<
Event
>
Protected
Readonly
cache
cache
:
Cache
Readonly
name
name
:
string
Protected
Readonly
serial
serial
:
Serialization
Accessors
Protected
queue
Identifier
get
queueIdentifier
(
)
:
string
Returns
string
Methods
dispatch
dispatch
<
T
>
(
item
:
T
)
:
Promise
<
void
>
Type Parameters
T
extends
Queueable
Parameters
item:
T
Returns
Promise
<
void
>
pop
pop
(
)
:
Promise
<
Maybe
<
ShouldQueue
<
Queueable
>
>
>
Returns
Promise
<
Maybe
<
ShouldQueue
<
Queueable
>
>
>
Protected
push
push
<
T
>
(
item
:
ShouldQueue
<
T
>
)
:
Promise
<
void
>
Type Parameters
T
extends
Queueable
Parameters
item:
ShouldQueue
<
T
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
The
Extollo
Framework
Getting
Started
About
Extollo
api
Cache
Queue
constructor
bus
cache
name
serial
queue
Identifier
dispatch
pop
push
Queue implementation that uses the configured cache driver as a queue.