Sha256: 61b88e662dac6b2261f5ae1f4d7a1cab850b03bfee35459687848a5762a692d7
Contents?: true
Size: 729 Bytes
Versions: 1
Compression:
Stored size: 729 Bytes
Contents
import { Consumer, Subscription } from '@rails/actioncable'; import { NetworkAdapter, PeerId, PeerMetadata, Message } from '@automerge/automerge-repo/slim'; declare class ActionCableNetworkAdapter extends NetworkAdapter { #private; channelName: string; consumer: Consumer; subscription?: Subscription; syncableType: string; syncableId: any; constructor(channelName: string, syncableType: string, syncableId: any, serverUrl?: string); connect(peerId: PeerId, peerMetadata?: PeerMetadata): void; disconnect(): void; send(message: Message): void; whenReady(): Promise<void>; isReady(): boolean; } export default ActionCableNetworkAdapter; //# sourceMappingURL=network-adapter.d.ts.map
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
action_merge-0.1.0 | app/assets/builds/action_merge/network-adapter.d.ts |