Versions in this module Expand all Collapse all v0 v0.5.0 Nov 30, 2023 v0.4.0 May 17, 2023 Changes in this version + func AssertExactMatch(t *testing.T, evs []A, preds []EventP[A]) + func AssertPartialMatch(t *testing.T, evs []A, preds []EventP[A]) + type AndP struct + Preds []EventP[A] + func (p AndP[A]) Call(ev A) bool + func (p AndP[A]) String() string + type EventIterator struct + func (ei *EventIterator[A]) TakeTill(pred EventP[A]) []A + func (ei *EventIterator[A]) WaitTill(pred EventP[A]) + type EventManager struct + func NewEventManager() EventManager[A] + func (em EventManager[A]) EventCollector(ctx context.Context) func(ev A) + func (em EventManager[A]) GetEventIx(evIx int) (A, bool) + func (em EventManager[A]) Iterator() EventIterator[A] + func (em EventManager[A]) Snapshot() []A + func (em EventManager[A]) StartCollector(ctx context.Context) + type EventP interface + Call func(A) bool + String func() string + type OrP struct + Preds []EventP[A] + func (p OrP[A]) Call(ev A) bool + func (p OrP[A]) String() string