summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.h
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-10-31 15:51:51 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-10-31 15:51:51 +0300
commitc838c3bd1580735e8020687f94e6307f13aba156 (patch)
treed88247c68c70ec4770d76037bd5fefcb836754ac /src/nxt_unit.h
parent3b0afb16814353a5d34a7384f4e84e9c17f3fb8e (diff)
downloadunit-c838c3bd1580735e8020687f94e6307f13aba156.tar.gz
unit-c838c3bd1580735e8020687f94e6307f13aba156.tar.bz2
Node.js: added async request execution.
Diffstat (limited to 'src/nxt_unit.h')
-rw-r--r--src/nxt_unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_unit.h b/src/nxt_unit.h
index 1b4923a2..2806d035 100644
--- a/src/nxt_unit.h
+++ b/src/nxt_unit.h
@@ -196,6 +196,8 @@ int nxt_unit_process_msg(nxt_unit_ctx_t *, nxt_unit_port_id_t *port_id,
*/
int nxt_unit_run(nxt_unit_ctx_t *);
+int nxt_unit_run_once(nxt_unit_ctx_t *ctx);
+
/* Destroy application library object. */
void nxt_unit_done(nxt_unit_ctx_t *);