blob: c250b87b62e1cacfb4a6ad23ab51e82022aef877 [file] [log] [blame]
/*
* Copyright (C) Dmitry Volyntsev
* Copyright (C) NGINX, Inc.
*/
#ifndef _NJS_TIMER_H_INCLUDED_
#define _NJS_TIMER_H_INCLUDED_
njs_int_t njs_set_timeout(njs_vm_t *vm, njs_value_t *args,
njs_uint_t nargs, njs_index_t unused);
njs_int_t njs_set_immediate(njs_vm_t *vm, njs_value_t *args,
njs_uint_t nargs, njs_index_t unused);
njs_int_t njs_clear_timeout(njs_vm_t *vm, njs_value_t *args,
njs_uint_t nargs, njs_index_t unused);
extern const njs_object_init_t njs_set_timeout_function_init;
extern const njs_object_init_t njs_set_immediate_function_init;
extern const njs_object_init_t njs_clear_timeout_function_init;
#endif /* _NJS_TIMER_H_INCLUDED_ */