Synclets logoSynclets

MetaConnectorImplementations

The MetaConnectorImplementations type.

{
  connect?: () => Promise<void>;
  disconnect?: () => Promise<void>;
  readTimestamp: (address: TimestampAddress<Depth>) => Promise<Timestamp | undefined>;
  writeTimestamp: (address: TimestampAddress<Depth>, timestamp: Timestamp) => Promise<void>;
  readChildIds: (address: AnyParentAddress<Depth>) => Promise<string[]>;
}
TypeDescription
connect?() => Promise<void>
disconnect?() => Promise<void>
readTimestamp(address: TimestampAddress<Depth>) => Promise<Timestamp | undefined>
writeTimestamp(address: TimestampAddress<Depth>, timestamp: Timestamp) => Promise<void>
readChildIds(address: AnyParentAddress<Depth>) => Promise<string[]>

Since

v0.0.0