Sha256: d3c8bf84737994ba0cb50206b17157d36c071cab4f7c2ae72670c149f01a11af

Contents?: true

Size: 225 Bytes

Versions: 9

Compression:

Stored size: 225 Bytes

Contents

export default interface ConnectionAdapter {
    ondisconnect: (() => void) | null;
    onreconnect: (() => void) | null;
    subscribe(key: string, callback: (data: any) => void): {
        unsubscribe: () => void;
    };
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ar_sync-1.1.2 core/ConnectionAdapter.d.ts
ar_sync-1.1.1 core/ConnectionAdapter.d.ts
ar_sync-1.1.0 core/ConnectionAdapter.d.ts
ar_sync-1.0.5 core/ConnectionAdapter.d.ts
ar_sync-1.0.4 core/ConnectionAdapter.d.ts
ar_sync-1.0.3 core/ConnectionAdapter.d.ts
ar_sync-1.0.2 core/ConnectionAdapter.d.ts
ar_sync-1.0.1 core/ConnectionAdapter.d.ts
ar_sync-1.0.0 core/ConnectionAdapter.d.ts