|author||Dmitry Volyntsev <firstname.lastname@example.org>||Wed Mar 21 17:33:12 2018 +0300|
|committer||Dmitry Volyntsev <email@example.com>||Wed Mar 21 17:33:12 2018 +0300|
setTimeout() and clearTimeout() methods. Public methods are introduced to create and post async events for a VM instance. njs_vm_add_event() creates an async event for the VM to wait for. njs_vm_post_event() notifies the VM that the event occurred. If async events were added njs_vm_run() returns NJS_AGAIN until there are no remaining pending events.