Straightforward library that allows to easily delay a method call, and to avoid multiple sources making unnecessary multiple calls to the same function for efficiency. Hence, behaves like a mutex over delayed code.
Name | Description |
---|---|
:Embed(object) | Adds the library methods to your object. |
:Delay(time, method [,args]) | Calls the given method after a certain time with the given args . Locks the method from further calls until complete. |
:Delaying(method) | Whether the method is currently locked from further calls. |
If you use this library, please list it as one of your dependencies in the CurseForge admin system. It's a big help! 👍