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 53d251c commit c7767dc
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 c7767dc

Please sign in to comment.