Skip to content

CALL_ASYNC

Jurek Muszyński edited this page Dec 18, 2021 · 13 revisions

void CALL_ASYNC(const char *service)

Description

Calls service defined in npp_svc.cpp with default timeout (NPP_ASYNC_DEF_TIMEOUT, currently 60 seconds).

Timeout refers to the maximum time the engine will be waiting for a response, and not to the CALL_ASYNC itself, as it places request in the message queue opened in non-blocking mode and returns immediately.

How Node++ ASYNC works

Returns

None

Example

CALL_ASYNC("getCustomer");

Notes

Requires NPP_ASYNC compilation switch.

Clone this wiki locally