UNPKG
@thoshpathi/utils-core
Version:
latest (1.2.2)
1.2.2
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
A collection of core utility functions for data processing
@thoshpathi/utils-core
/
dist
/
timer_utils.d.ts
12 lines
(10 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
declare
class
SetInterval
{ #
private
;
start
({ func, ms }: {
func
:
() =>
unknown
;
ms
:
number
; }):
void
;
stop
():
void
; }
declare
function
delay
(
ms
?:
number
):
Promise
<
void
>;
export
{
SetInterval
,
SetInterval
as
default
, delay };