Skip to content

Commit

Permalink
Remove unused RpcSubscriptionsRequest type (#3391)
Browse files Browse the repository at this point in the history
This PR removes the `RpcSubscriptionsRequest` which was used in the previous implementation of RPC Subscriptions but no longer is.
  • Loading branch information
lorisleiva authored Oct 23, 2024
1 parent d0adee1 commit 0f739b6
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
export type RpcSubscriptionsRequest<TResponse> = {
params: unknown[];
responseTransformer?: (response: unknown, notificationName: string) => TResponse;
subscribeMethodName: string;
unsubscribeMethodName: string;
};

export type PendingRpcSubscriptionsRequest<TNotification> = {
subscribe(options: RpcSubscribeOptions): Promise<AsyncIterable<TNotification>>;
};
Expand Down

0 comments on commit 0f739b6

Please sign in to comment.