GiveTask
Assigns a task to the specified Maid instance.
task
The task parameter is handled upon the use of Maid:DoCleaning()
and can be of the following types:
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 Instance classObject: 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