Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused RpcSubscriptionsRequest type
Browse files Browse the repository at this point in the history
lorisleiva committed Oct 18, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
1 parent 0918568 commit 601d031
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>>;
};

0 comments on commit 601d031

Please sign in to comment.