Assigns a task to the specified Maid instance.
Maid:GiveTask(task)
The task parameter is handled upon the use of Maid:DoCleaning() and can be of the following types:
Maid:DoCleaning()
Function: the maid will execute the function
Connection: the maid will disconnect the connection
Instance: the maid will run :Destroy() on any object derived from the Instancearrow-up-right class
:Destroy()
Object: the maid will clean up any object which has a :Destroy() method, such as instances of custom classes (for example other Maid instances)
Last updated 1 year ago