surface honeybee.EventDialFailed through the prism event pipeline

This commit is contained in:
Jay
2026-06-04 17:46:47 -04:00
parent df0a968907
commit 69f9219819
7 changed files with 86 additions and 21 deletions
+5
View File
@@ -95,6 +95,11 @@ func (p *mockPool) disconnect() {
ID: p.url, Kind: honeybee.EventDisconnected, At: time.Now()}
}
func (p *mockPool) dialFail(err error) {
p.events <- honeybee.PoolEvent{
ID: p.url, Kind: honeybee.EventDialFailed, Err: err, At: time.Now()}
}
func (p *mockPool) receive(data []byte) {
p.inbox <- honeybee.InboxMessage{
ID: p.url,