AsyncWaitHandleReadSignalled (open)

Returns whether a handle is read signalled in within a specific period. If immediately signalled, returns TRUE, else a promise. That promise that resolves to TRUE when the handle becomes signalled before waituntil, and to FALSE on timeout

Syntax

LOADLIB "wh::ipc.whlib";

VARIANT FUNCTION AsyncWaitHandleReadSignalled(INTEGER handle, DATETIME waituntil)

Parameters

INTEGER handle

handle to wait become read signalled

DATETIME waituntil

Timeout time

Return value

VARIANT

TRUE on immediately signalled, promise otherwise