Documentation
¶
Overview ¶
Package observationbridge owns CLI-side execution of bounded producer observation streams. Producers retain only queue and completion authority; projection, cancellation, and join accounting stay at the command boundary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicationGate ¶
type PublicationGate struct {
// contains filtered or unexported fields
}
PublicationGate linearizes reader cancellation with command publication. Projection may already be active when Revoke returns, but it cannot acquire publication authority afterward.
func (*PublicationGate) Commit ¶
func (gate *PublicationGate) Commit(ctx context.Context, publish func() bool) bool
func (*PublicationGate) Revoke ¶
func (gate *PublicationGate) Revoke()
type Reader ¶
type Reader[T any] struct { // contains filtered or unexported fields }
Reader owns exactly one goroutine for one enabled stream. The producer can fill its bounded early prefix before Start because receiving begins only here.