Files
plumber/internal/events/nop.go
T
codegirl007 911355ae35
CI / test (push) Successful in 6m16s
Add an in-process post event bus (#13)
Handlers emit PostCreated and PostUpdated after a successful write. Store writes do not publish, and hidden roots are skipped.

Reviewed-on: #13
Co-authored-by: codegirl-007 <s.raide@gmail.com>
2026-08-29 18:24:13 +00:00

10 lines
176 B
Go

package events
import "context"
// Nop is a Publisher used when nothing is subscribed.
type Nop struct{}
// Publish discards ev.
func (Nop) Publish(context.Context, any) {}