Added sync and wait

This commit is contained in:
2023-09-01 00:13:26 +03:00
parent d496d4a9fb
commit 97f6c21993
5 changed files with 66 additions and 12 deletions

View File

@ -74,8 +74,8 @@ export abstract class Event {
return this.modify(func);
};
duration = (value: number): Event => {
this.values["duration"] = value;
length = (value: number): Event => {
this.values["length"] = value;
return this;
};
}