RegisterTimedCallback (open)
Register a callback that will be called at the first wait point after a specified time. Only supported in the following contexts: tollium, appserver and porthandler.
Syntax
LOADLIB "wh::ipc.whlib";
INTEGER FUNCTION RegisterTimedCallback(DATETIME when, FUNCTION PTR callback)
Parameters
DATETIME when
Time after which the callback must be called.
FUNCTION PTR callback
Callback to be called (Signature: MACRO callback())
Return value
INTEGER
id Id for the timeout, can be used UnregisterTimedCallback to unregister; automatically unregistered when the callback is done.