Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

CheckLag

Check Connection - send request and wait for answer timeoutMS milliseconds.

If timeout - return false, else - True.

Pascal

function CheckLag(timeoutMS : Integer) : Boolean;

Example:

begin
...
CheckLag(1000);
UseObject(runebook);
end.

Python

CheckLag(timeoutMS=10000)