mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Handle empty subscription queue and OOP-ify
This commit is contained in:
parent
830c009066
commit
1ea272600c
3 changed files with 67 additions and 31 deletions
|
|
@ -19,6 +19,14 @@ const constants = {
|
|||
regex: {
|
||||
ucid: "[A-Za-z0-9-_]+",
|
||||
video_id: "[A-Za-z0-9-_]+"
|
||||
},
|
||||
|
||||
symbols: {
|
||||
refresher: {
|
||||
ACTIVE: Symbol("ACTIVE"),
|
||||
WAITING: Symbol("WAITING"),
|
||||
EMPTY: Symbol("EMPTY")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue