createChannelLoader
@totemsdk/omnia-pool / createChannelLoader
Function: createChannelLoader()
createChannelLoader(
store): (channelId) =>Promise<OmniaChannel>
Build a loadChannel(channelId) port that reads a persisted channel snapshot
and recovers the live OmniaChannel object.
Parameters
store
Returns
(channelId) => Promise<OmniaChannel>