IPCLinkEndpoint::AsyncReceiveMessage (open)
Receive a message, returns a promise that will be fulfilled when the message arives. Resolves with same status messages as ReceiveMessage
Syntax
LOADLIB "wh::internal/jobs.whlib";
OBJECT FUNCTION AsyncReceiveMessage(DATETIME wait_until)
Parameters
DATETIME wait_until
Resolve with status 'timeout' if the message hasn't arrived at this time.
Return value
OBJECT
promise