Files
opencode/packages
Kit Langton f3cf519d98 feat(bus): migrate Bus to Effect service with PubSub internals
Add Bus.Service as a ServiceMap.Service backed by Effect PubSub:
- publish() pushes to per-type + wildcard PubSubs and GlobalBus
- subscribe() returns a typed Stream via Stream.fromPubSub
- subscribeAll() returns a wildcard Stream

Legacy adapters wrap the Effect service:
- publish → runPromiseInstance
- subscribe/subscribeAll → runCallbackInstance with Stream.runForEach

Other changes:
- Register Bus.Service in Instances LayerMap
- Add runCallbackInstance helper to effect/runtime
- Remove unused Bus.once (zero callers)
- Skip PubSub creation on publish when no subscribers exist
- Move subscribe/unsubscribe logging into the Effect service layer
2026-03-18 21:36:04 -04:00
..
2026-03-18 14:30:55 -04:00
2026-03-16 02:33:48 +00:00
2026-03-17 23:31:14 -04:00
2026-03-16 02:33:48 +00:00
2026-03-17 23:31:14 -04:00
2026-03-16 02:33:48 +00:00
2026-03-18 19:26:32 +05:30
2026-03-16 02:33:48 +00:00
2026-03-18 20:28:41 -04:00