Files
tether-ts/dist/index.d.ts
T
2026-04-21 22:26:47 -05:00

10 lines
339 B
TypeScript

export declare class TetherClient {
private websocketHandler;
private subscribedQueries;
connect: (url: string) => void;
disconnect: () => void;
subscribe: (query: string, callback: (data: any) => void) => void;
unsubscribe: (query: string) => void;
sendMutation: (mutationName: string, params: any) => void;
}