Interface Interceptor<T, H>

Allows the interception of messages or intents before their publication.

interface Interceptor<T, H extends Handler<T>> {
    intercept(message: T, next: H): Promise<void>;
}

Type Parameters

Implemented by

Methods

Methods