MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / SetPublisher

Method SetPublisher

internal/agent/api.go:242–242  ·  view source on GitHub ↗

SetPublisher wires the LEGACY in-process fan-out publisher. Kept during the slice-4→slice-11 rollout window. Safe to leave nil in tests; trigger sites no-op when it is.

(p webhookpub.Publisher)

Source from the content-addressed store, hash-verified

240// during the slice-4→slice-11 rollout window. Safe to leave nil in
241// tests; trigger sites no-op when it is.
242func (a *API) SetPublisher(p webhookpub.Publisher) { a.publisher = p }
243
244// SetOutbox wires the slice-4 transactional outbox. Used by the
245// outbound /send handler for the email.sent event (post-side-effect:

Callers 4

TestServerFunction · 0.95
NewEventsAPIHarnessFunction · 0.95
newReviewAPIFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestServerFunction · 0.76
newReviewAPIFunction · 0.76