Configuration¶
Engine¶
EngineOptions:
| Option | Meaning |
|---|---|
session |
Existing IChronicle/Chronicle session |
stack, space, source |
Facades that must share the canonical session |
autoConnect |
URL passed to connect() during construction |
useWebRTC |
Selects the hybrid network manager when connecting |
networkOptions |
Codec, reconnect, and message-buffer settings |
profiler |
Optional structural action profiler |
Transport¶
PeerConnectionOptions configures a codec, binary mode, reconnect behavior, and
message buffer size. ReconnectConfig includes enabled, initialDelay,
maxDelay, multiplier, maxAttempts, and jitter.
HybridPeerManagerOptions requires url and can set RTC configuration,
automatic upgrade, upgrade delay, reconnect, and peer options. WebRTCConfig
controls ICE servers, ordered delivery, retransmits, TURN fallback, timeout,
retry count, and codec.
Storage¶
FilesystemAdapter accepts { dir? }; IndexedDBAdapter accepts { dbName? }.
MemoryAdapter has no constructor options. All adapter methods are Promise
based. TODO: maintainer review of package-level deep-import and export policy
for network/storage classes.