File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,9 @@ local function getJanitors()
13
13
return require (script .Parent ).Janitors
14
14
end
15
15
16
- --[=[
17
- @class Janitor
18
- Another class.
19
- ]=]
16
+ --- @class Janitor
17
+ --- Another class.
18
+
20
19
21
20
--[=[
22
21
@within Janitor
28
27
@return name: string?
29
28
@return index: number | string
30
29
]=]
31
-
32
30
function Janitor .new (janitorName : string ? )
33
31
local self = setmetatable ({}, Janitor )
34
32
self ._tasks = {}
@@ -42,12 +40,14 @@ function Janitor.new(janitorName: string?)
42
40
43
41
return self
44
42
end
43
+
45
44
--[=[
46
45
@since 0.11
47
46
]=]
48
47
function Janitor .isJanitor (value : table ? ): boolean
49
48
return type (value ) == " table" and value .ClassName == " Janitor"
50
49
end
50
+
51
51
--[=[
52
52
@within Janitor
53
53
@since 0.11
@@ -78,6 +78,7 @@ function Janitor:Give(task: any)
78
78
end
79
79
return handleTask (task )
80
80
end
81
+
81
82
--[=[
82
83
@within Janitor
83
84
@since 0.11
@@ -116,6 +117,7 @@ function Janitor:Cleanup(taskTable: table?)
116
117
index , task = next (tasks )
117
118
end
118
119
end
120
+
119
121
--[=[
120
122
@within Janitor
121
123
@since 0.11
You can’t perform that action at this time.
0 commit comments