ChannelStorage

class ChannelStorage(store: FileStore, logger: Logger)(source)

Manages the storage of channel data on disk.

Constructors

Link copied to clipboard
constructor(store: FileStore, logger: Logger)

Functions

Link copied to clipboard

Loads channel data from disk.

Link copied to clipboard
fun queueAsyncSave(data: () -> ChannelData)

Queues a debounced asynchronous save of channel data to disk.

Link copied to clipboard

Saves channel data to disk.