Skip to content

Commit c91f4ea

Browse files
authored
Update index.js
1 parent 6c49d40 commit c91f4ea

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

src/Workspace/index.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,22 @@ console.log(ObjectHideFlags);
132132
*/
133133

134134

135-
return [ ObjectHideFlags ] = [ flags ];
135+
return [
136+
ObjectHideFlags,
137+
138+
wait,
139+
140+
waitMs
141+
142+
] = [
143+
144+
flags,
145+
146+
function(time) {
147+
return new Promise(resolve => setTimeout(resolve, this.parse(time)*1000));
148+
});
149+
150+
function(time) {
151+
return new Promise(resolve => setTimeout(resolve, this.parse(time)));
152+
});
153+
];

0 commit comments

Comments
 (0)