Documentation - v0.27.1
Preparing search index...
@mtcute/node
utils
asyncResettable
Function asyncResettable
asyncResettable
<
T
extends
(
...
args
:
any
[]
)
=>
Promise
<
any
>
>
(
func
:
T
,
)
:
{
finished
:
()
=>
boolean
;
reset
:
()
=>
void
;
run
:
T
;
wait
:
()
=>
Promise
<
any
>
|
null
;
}
Type Parameters
T
extends
(
...
args
:
any
[]
)
=>
Promise
<
any
>
Parameters
func
:
T
Returns
{
finished
:
()
=>
boolean
;
reset
:
()
=>
void
;
run
:
T
;
wait
:
()
=>
Promise
<
any
>
|
null
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation - v0.27.1
Loading...