@leancloud/client-engine - v1.0.2
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Wrapped
Play
Error
alphabet
generate
generate
Id
listen
listen
NodeEE
Index
Classes
Wrapped
Play
Error
Variables
alphabet
generate
Functions
generate
Id
listen
listen
NodeEE
Variables
Const
alphabet
alphabet
:
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
generate
generate
:
generate
Functions
Const
generate
Id
generate
Id
(
length
?:
number
)
:
string
Parameters
Default value
length:
number
= 10
Returns
string
listen
listen<T, K, L>
(
target
:
PlayEventEmitter
<
T
>
, resolveEvent
:
K
, rejectEvent
?:
L
)
:
Promise
<
T[K]
>
Type parameters
T
:
PlayEvent
K
:
keyof
T
L
:
keyof
T
Parameters
target:
PlayEventEmitter
<
T
>
resolveEvent:
K
Optional
rejectEvent:
L
Returns
Promise
<
T[K]
>
listen
NodeEE
listen
NodeEE<T>
(
target
:
EventEmitter
, resolveEvent
:
string
|
symbol
, rejectEvent
?:
string
|
symbol
)
:
Promise
<
T
>
Type parameters
T
Parameters
target:
EventEmitter
resolveEvent:
string
|
symbol
Optional
rejectEvent:
string
|
symbol
Returns
Promise
<
T
>
Generated using
TypeDoc