UNPKG
@zodash/next-tick
Version:
latest (0.1.11)
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.0
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
browser process.nextTick
github.com/zcorky/zodash
zcorky/zodash
@zodash/next-tick
/
lib
/
next-tick.d.ts
9 lines
(8 loc)
•
282 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/// <reference types="node" />
/** * Process.nextTick in browser * *
@param
fn The function to be restricted. *
@param
args The arguments of fn */
export
declare
function
nextTick
<
T
extends
(
...args: any[]
) =>
void
>(
fn
:
T
,
delayMs
?:
number
):
NodeJS
.
Immediate
|
NodeJS
.
Timeout
;