diff options
author | Alexander Borisov <alexander.borisov@nginx.com> | 2018-10-31 15:51:51 +0300 |
---|---|---|
committer | Alexander Borisov <alexander.borisov@nginx.com> | 2018-10-31 15:51:51 +0300 |
commit | c838c3bd1580735e8020687f94e6307f13aba156 (patch) | |
tree | d88247c68c70ec4770d76037bd5fefcb836754ac /src/nxt_unit.h | |
parent | 3b0afb16814353a5d34a7384f4e84e9c17f3fb8e (diff) | |
download | unit-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.h | 2 |
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 *); |