Skip to content

Commit ca44b9c

Browse files
chore: update type
1 parent 7a4e1a5 commit ca44b9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/interfaces/src/filter.ts

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ export type SubscribeOptions = {
1818
maxMissedMessagesThreshold?: number;
1919
};
2020

21+
export type SubscriptionCallback<T extends IDecodedMessage> = {
22+
decoders: IDecoder<T>[];
23+
callback: Callback<T>;
24+
};
25+
2126
export type IFilter = IReceiver & IBaseProtocolCore;
2227

2328
export interface ISubscriptionSDK {

0 commit comments

Comments
 (0)