Module PocketMeshPeer.RuntimeState

Represents runtime state of the library that is lost after closing the app.

type t;
let signalChannel: t => SignalChannel.t;

Returns state of signal channel.

let peersStatuses: t => PeersStatuses.t;

Returns online statuses of peers (friends).

let peersConnections: t => PeersConnections.t;

Returns states of P2P connections.

let initConfig: t => InitConfig.t;

Returns the initial config.