add io and remove adapter
Some checks failed
Publish to npm / publish (push) Has been cancelled

This commit is contained in:
2024-10-06 12:48:10 +08:00
parent 4e38c3a74e
commit 77e6394266
4 changed files with 26 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ type QueryWsStore = {
};
export type QuerySelectState = 'connecting' | 'connected' | 'disconnected';
export type QueryWsStoreListener = (newState: QueryWsStore, oldState: QueryWsStore) => void;
type QueryWsOpts = {
export type QueryWsOpts = {
url?: string;
store?: StoreApi<QueryWsStore>;
ws?: WebSocket;