Reader specifies the minimum functionality a reader should expose. NOTE: we don't want to enforce any event registration methods here, allowing full control for customized readers.
| 140 | // Reader specifies the minimum functionality a reader should expose. |
| 141 | // NOTE: we don't want to enforce any event registration methods here, allowing full control for customized readers. |
| 142 | type Reader interface { |
| 143 | Configure(opts ...ReaderOption) |
| 144 | } |
| 145 | |
| 146 | type HandlerFunc[T interface{}] func(context.Context, *Event[T]) error |
| 147 |
no outgoing calls
no test coverage detected
searching dependent graphs…