diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-08-09 12:17:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 12:17:08 -0700 |
commit | fb87cb38eca7a2d490c3e70738407dc6538e80d3 (patch) | |
tree | 29e81258ca714594f0b6b325ddd41bb5f8c54257 /src/handlers.h | |
parent | 0e96125260f2d78718e57cac95c7dc672bb24e57 (diff) |
First pass at setTimeout with Tokio (#434)
Diffstat (limited to 'src/handlers.h')
-rw-r--r-- | src/handlers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/handlers.h b/src/handlers.h index 067819529..decbe59da 100644 --- a/src/handlers.h +++ b/src/handlers.h @@ -10,5 +10,9 @@ void handle_code_fetch(Deno* d, uint32_t cmd_id, const char* module_specifier, const char* containing_file); void handle_code_cache(Deno* d, uint32_t cmd_id, const char* filename, const char* source_code, const char* output_code); + +void handle_timer_start(Deno* d, uint32_t cmd_id, uint32_t timer_id, + bool interval, uint32_t delay); +void handle_timer_clear(Deno* d, uint32_t cmd_id, uint32_t timer_id); } // extern "C" #endif // HANDLERS_H_ |