WaitForDisconnectWithTimeout method
Waits until either the plugin is disconnected from Iguana, or a specified timeout elapses.
Applies to
Declaration
function WaitForDisconnectWithTimeout(TimeoutInMilliseconds : Integer) : Boolean;
Description
May not be called from within an event handler (for example, may not be called from within the OnDisconnected handler).
Parameters |
TimeoutInMilliseconds | Timeout (in milliseconds) to wait for disconnection. |
Returns
Returns true if the plugin disconnected from Iguana, or false if the timeout elapsed before the plugin was disconnected from Iguana.