Sha256: db361eb4af35ae783251900a9813af585874554b472d5be3f7cf5903fd55bbe3

Contents?: true

Size: 203 Bytes

Versions: 9

Compression:

Stored size: 203 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 src/core/ConnectionAdapter.ts
ar_sync-1.1.1 src/core/ConnectionAdapter.ts
ar_sync-1.1.0 src/core/ConnectionAdapter.ts
ar_sync-1.0.5 src/core/ConnectionAdapter.ts
ar_sync-1.0.4 src/core/ConnectionAdapter.ts
ar_sync-1.0.3 src/core/ConnectionAdapter.ts
ar_sync-1.0.2 src/core/ConnectionAdapter.ts
ar_sync-1.0.1 src/core/ConnectionAdapter.ts
ar_sync-1.0.0 src/core/ConnectionAdapter.ts