UNPKG
time-resolution
Version:
latest (3.0.1)
3.0.1
3.0.0
2.0.0
1.1.0
1.0.0
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.1
Find the process's time resolution
www.github.com/ehmicky/time-resolution
ehmicky/time-resolution
time-resolution
/
build
/
src
/
main.d.ts
11 lines
(10 loc)
•
235 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * Returns the system's time resolution, in nanoseconds. * *
@example
* ```js * const resolution = timeResolution() * ``` */
declare
const
timeResolution
:
(
times
?:
readonly
number
[]
) =>
number
;
export
default
timeResolution;