@Cards-TS
Preparing search index...
@cards-ts/core
HandlerResponsesQueue
Interface HandlerResponsesQueue<Item>
interface
HandlerResponsesQueue
<
Item
extends
Message
>
{
map
<
PreMapped
extends
Message
>
(
mapping
:
(
item
:
PreMapped
)
=>
WithOrWithoutData
<
Item
>
,
)
:
MessageQueue
<
PreMapped
>
;
push
(
item
:
Item
)
:
void
;
push
(
item
:
Promise
<
WithOrWithoutData
<
undefined
|
Item
>
>
)
:
void
;
push
(
item
:
undefined
|
Item
,
data
:
HandlerCustomData
)
:
void
;
}
Type Parameters
Item
extends
Message
Index
Methods
map
push
Methods
map
map
<
PreMapped
extends
Message
>
(
mapping
:
(
item
:
PreMapped
)
=>
WithOrWithoutData
<
Item
>
,
)
:
MessageQueue
<
PreMapped
>
Type Parameters
PreMapped
extends
Message
Parameters
mapping
:
(
item
:
PreMapped
)
=>
WithOrWithoutData
<
Item
>
Returns
MessageQueue
<
PreMapped
>
push
push
(
item
:
Item
)
:
void
Parameters
item
:
Item
Returns
void
push
(
item
:
Promise
<
WithOrWithoutData
<
undefined
|
Item
>
>
)
:
void
Parameters
item
:
Promise
<
WithOrWithoutData
<
undefined
|
Item
>
>
Returns
void
push
(
item
:
undefined
|
Item
,
data
:
HandlerCustomData
)
:
void
Parameters
item
:
undefined
|
Item
data
:
HandlerCustomData
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
map
push
@Cards-TS
Loading...