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

10 lines
356 B
TypeScript

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