lsync API
    Preparing search index...

    Interface ClientSubscription

    interface ClientSubscription {
        ready: Promise<void>;
        onDisconnect?(listener: () => void): () => void;
        onReconnect?(listener: () => void): () => void;
        unsubscribe(): void;
    }
    Index
    ready: Promise<void>