Skip to content

CALL_ASYNC_TM

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

void CALL_ASYNC_TM(const char *service, int timeout)

Description

Calls service defined in npp_svc.cpp with non-default timeout. timeout is in 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_TM("getCustomer", 120);

Notes

Requires NPP_ASYNC compilation switch.

Clone this wiki locally