Preparing search index...
The search index is not available
@wppconnect/wa-js - v3.10.0
@wppconnect/wa-js
ev
emitAsync
Function emitAsync
emit
Async
<
Name
>
(
event
,
...
args
)
:
Promise
<
any
[]
>
Type Parameters
Name
extends
|
"blocklist.sync"
|
"call.incoming_call"
|
(
keyof ChatEventTypes
)
|
"config.update"
|
(
keyof ConnEventTypes
)
|
"group.participant_changed"
|
"order.payment_status"
|
"status.sync"
|
(
keyof WebpackEvents
)
|
"alfa"
|
"beta"
Parameters
event
:
Name
Rest
...
args
:
ListenerType
<
(
BlocklistEventTypes
&
CallEventTypes
&
ChatEventTypes
&
ConfigEventTypes
&
ConnEventTypes
&
GroupEventTypes
&
OrderEventTypes
&
StatusEventTypes
&
WebpackEvents
&
{
alfa
:
string
;
beta
:
(
(
from
:
number
,
to
:
string
)
=>
void
)
;
}
)
[
Name
]
>
Returns
Promise
<
any
[]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@wppconnect/wa-js - v3.10.0
Loading...