We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a4e1a5 commit ca44b9cCopy full SHA for ca44b9c
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