@wppconnect-team/wppconnect - v1.36.4
Preparing search index...
WAJS
ev
prependMany
Variable prependMany
Const
prependMany
:
{
<
Name
extends
|
"config.update"
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
,
>
(
event
:
Name
,
timesToListen
:
number
,
listener
:
(
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
)
[
Name
]
,
>
,
)
=>
void
,
options
:
OnOptions
&
{
objectify
:
true
}
,
)
:
any
;
<
Name
extends
|
"config.update"
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
,
>
(
event
:
Name
,
timesToListen
:
number
,
listener
:
(
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
)
[
Name
]
,
>
,
)
=>
void
,
options
?:
boolean
|
OnOptions
,
)
:
WAJS
.
ev
.
EventEmitter
<
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
,
>
;
}
Type declaration
<
Name
extends
|
"config.update"
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
,
>
(
event
:
Name
,
timesToListen
:
number
,
listener
:
(
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
)
[
Name
]
,
>
,
)
=>
void
,
options
:
OnOptions
&
{
objectify
:
true
}
,
)
:
any
Type Parameters
Name
extends
|
"config.update"
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
Parameters
event
:
Name
timesToListen
:
number
listener
:
(
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
)
[
Name
]
,
>
,
)
=>
void
options
:
OnOptions
&
{
objectify
:
true
}
Returns
any
<
Name
extends
|
"config.update"
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
,
>
(
event
:
Name
,
timesToListen
:
number
,
listener
:
(
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
)
[
Name
]
,
>
,
)
=>
void
,
options
?:
boolean
|
OnOptions
,
)
:
WAJS
.
ev
.
EventEmitter
<
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
,
>
Type Parameters
Name
extends
|
"config.update"
|
"blocklist.sync"
|
"call.incoming_call"
|
(keyof ChatEventTypes)
|
(keyof ConnEventTypes)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(keyof WebpackEvents)
|
"alfa"
|
"beta"
Parameters
event
:
Name
timesToListen
:
number
listener
:
(
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
)
[
Name
]
,
>
,
)
=>
void
Optional
options
:
boolean
|
OnOptions
Returns
WAJS
.
ev
.
EventEmitter
<
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
from
:
number
,
to
:
string
)
=>
void
;
}
,
>
Settings
Member Visibility
External
Theme
OS
Light
Dark
@wppconnect-team/wppconnect - v1.36.4
Loading...