threadSleep

Version 24.3.9106


threadSleep


Instructs the current thread to sleep for a configured amount of time. This can be useful in avoiding rate limit issues if you are using a loop to perform multiple lookups against an API.

必要なパラメータ

  • timeout: The timeout (in milliseconds) between calls. The default is 1000, which equals 1 second.