summaryrefslogtreecommitdiffhomepage
path: root/internal/pubsub
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-19 16:35:45 +0200
committerKujtim Hoxha <[email protected]>2025-04-21 13:42:29 +0200
commit2de51274177432b559be3b7deb1f14b9539f2994 (patch)
treed47fff06ebf662f6bd7f594c78d0ae97e203a493 /internal/pubsub
parent2b5a33e476ae3c6b5c6345777d20792786836dda (diff)
downloadopencode-2de51274177432b559be3b7deb1f14b9539f2994.tar.gz
opencode-2de51274177432b559be3b7deb1f14b9539f2994.zip
initial tool call stream
Diffstat (limited to 'internal/pubsub')
-rw-r--r--internal/pubsub/broker.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/pubsub/broker.go b/internal/pubsub/broker.go
index 3e70ae095..d73accffb 100644
--- a/internal/pubsub/broker.go
+++ b/internal/pubsub/broker.go
@@ -7,13 +7,6 @@ import (
const bufferSize = 1024
-type Logger interface {
- Debug(msg string, args ...any)
- Info(msg string, args ...any)
- Warn(msg string, args ...any)
- Error(msg string, args ...any)
-}
-
// Broker allows clients to publish events and subscribe to events
type Broker[T any] struct {
subs map[chan Event[T]]struct{} // subscriptions