Refactor FuturesWebsocket: implement batch subscription handling, enhance connection management, and improve logging

This commit is contained in:
2025-09-09 00:08:57 +00:00
parent 70f3714d2f
commit 6ebc541de0
13 changed files with 700 additions and 784 deletions

View File

@@ -6,8 +6,8 @@ type Provider interface {
Start() error
Stop()
StartStream(key string, destination chan<- domain.Message) <-chan error
StopStream(key string) <-chan error
StartStreams(keys []string) <-chan error
StopStreams(key []string) <-chan error
Fetch(key string) (domain.Message, error)