diff --git a/packages/interfaces/src/filter.ts b/packages/interfaces/src/filter.ts index 67946a02a9..c5e2ab42ec 100644 --- a/packages/interfaces/src/filter.ts +++ b/packages/interfaces/src/filter.ts @@ -18,6 +18,11 @@ export type SubscribeOptions = { maxMissedMessagesThreshold?: number; }; +export type SubscriptionCallback = { + decoders: IDecoder[]; + callback: Callback; +}; + export type IFilter = IReceiver & IBaseProtocolCore; export interface ISubscriptionSDK {