feat: Add connection

This commit is contained in:
sujit
2024-10-22 16:56:59 +05:45
parent d703f5f1d3
commit c47f8c9acc
7 changed files with 48 additions and 39 deletions

View File

@@ -15,7 +15,7 @@ func (b *Broker) SyncMode() bool {
return b.opts.syncMode
}
func (b *Broker) NotifyHandler() func(context.Context, Result) {
func (b *Broker) NotifyHandler() func(context.Context, Result) error {
return b.opts.notifyResponse
}