mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2026-11-05 22:29:31 +09:00
Refactor WebSocket handlers and add ACK-based message flow
Consolidated coroutine scopes into `songListScope` and `timerScope` for better management across WebSocket routes. Introduced ACK (acknowledgment) handling for reliable message delivery with retries and timeouts. Updated session handling for multiple WebSocket routes to improve code maintainability and consistency.
This commit is contained in:
5 files changed
+190
-161
No files matched your search
@@ -5,7 +5,8 @@ enum class TimerType(var value: Int) {
|
||||
TIMER(1),
|
||||
REMOVE(2),
|
||||
|
||||
STREAM_OFF(50)
|
||||
STREAM_OFF(50),
|
||||
ACK(51)
|
||||
}
|
||||
|
||||
class TimerEvent(
|
||||
|
||||
Reference in new issue
Block a user