### rbxts-maid: Maid Class Basic Usage Source: https://github.com/osyrisrblx/rbxts-maid/blob/master/README.md This snippet shows how to initialize a Maid instance and add various types of tasks for automatic cleanup. Tasks can be simple functions, Roblox event connections, other Maid instances, or objects implementing a Destroy method. The DoCleaning() method can be called to manually trigger the cleanup process. ```typescript import Maid from "@rbxts/maid"; const maid = new Maid(); maid.GiveTask(() => print("Clean me!")); maid.GiveTask(game.Workspace.ChildAdded.Connect(() => print("Child Added!"))); maid.GiveTask(new Maid()); maid.GiveTask({ Destroy() {} }); maid.DoCleaning(); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.