Skip to content

Commit

Permalink
chore: update type
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Aug 23, 2024
1 parent 7a4e1a5 commit ca44b9c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/interfaces/src/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export type SubscribeOptions = {
maxMissedMessagesThreshold?: number;
};

export type SubscriptionCallback<T extends IDecodedMessage> = {
decoders: IDecoder<T>[];
callback: Callback<T>;
};

export type IFilter = IReceiver & IBaseProtocolCore;

export interface ISubscriptionSDK {
Expand Down

0 comments on commit ca44b9c

Please sign in to comment.