banner
Rating
Voted0

Corout Addon

0
Mod version:V1.0
Game version:2.3
The mod has been successfully tested for the absence of viruses
17649.72K422.51K

Report mod

  • image
modalImage

About This Mod

This library was created to easily bypass the watchdog. Instead of writing all the mechanics of a corutina every time there is a performance problem, you can use this library. With this library, corutins can be created in multiple lines.

To use it, just call corout(YourFunction), which will automatically start the corutina running YourFunction. From time to time, call corout.check() on your function to make sure watchdog doesn't disable your plugin.

If you use multiple corutins together, it is recommended to add tags to all corutins to protect yourself from other plugins and your plugin. You can also pass as many parameters after them as you want: corout(MyFunction, "Corout MyLabel", MyArg1, MyArg2, ...), as shown in the example below. If necessary, you can set another limit on the time remaining before the watchdog timer is triggered (the default is 0.03).

Similar Mods/Addons

Game Version *

2.3 (Corout.zip)