Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4440036
timer.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
818 B
Referenced Files
None
Subscribers
None
timer.h
View Options
#ifndef TIMER_H
#define TIMER_H
#include
"types.h"
ant_value_t
timers_library
(
ant_t
*
js
);
ant_value_t
timers_promises_library
(
ant_t
*
js
);
void
init_timer_module
(
void
);
void
process_microtasks
(
ant_t
*
js
);
void
process_immediates
(
ant_t
*
js
);
void
queue_promise_trigger
(
ant_t
*
js
,
ant_value_t
promise
);
void
queue_microtask
(
ant_t
*
js
,
ant_value_t
callback
);
void
queue_microtask_with_args
(
ant_t
*
js
,
ant_value_t
callback
,
ant_value_t
*
args
,
int
nargs
);
void
queue_next_tick
(
ant_t
*
js
,
ant_value_t
callback
);
void
queue_next_tick_with_args
(
ant_t
*
js
,
ant_value_t
callback
,
ant_value_t
*
args
,
int
nargs
);
bool
js_maybe_drain_microtasks
(
ant_t
*
js
);
bool
js_maybe_drain_microtasks_after_async_settle
(
ant_t
*
js
);
int
has_pending_timers
(
void
);
int
has_pending_microtasks
(
void
);
int
has_pending_immediates
(
void
);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, May 2, 8:28 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
542045
Default Alt Text
timer.h (818 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment