InterceptorWithContext<Context, Event> typedef

InterceptorWithContext<Context, Event> = void Function(Context context, Dispatch<Event> dispatch, Event event)

An event interceptor with a context associated with it

Implementation

typedef InterceptorWithContext<Context, Event> = void Function(Context context, Dispatch<Event> dispatch, Event event);