We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53d251c commit c7767dcCopy full SHA for c7767dc
packages/interfaces/src/filter.ts
@@ -18,6 +18,11 @@ export type SubscribeOptions = {
18
maxMissedMessagesThreshold?: number;
19
};
20
21
+export type SubscriptionCallback<T extends IDecodedMessage> = {
22
+ decoders: IDecoder<T>[];
23
+ callback: Callback<T>;
24
+};
25
+
26
export type IFilter = IReceiver & IBaseProtocolCore;
27
28
export interface ISubscriptionSDK {
0 commit comments