Explore this module further in the Mover Registry: @sage/channel
Structs
AppChannelRegistry
Registry that maps all App
s to their respective ChannelRegistry
.
ChannelRegistry
Registry that maps all Channel
s for an App
.
Constants
TheApp
and ChannelRegistry
did not correspond with each other.
Functions
assert_app_channel_registry_match
Aborts with EAppChannelRegistryMismatch
if the App
and ChannelRegistry
do not correspond with each other.
borrow_channel_address
Gets address of the Channel
struct with the specified key.
borrow_channel_registry_address
Gets address of ChannelRegistry
struct with the specified App
address.
has_record
Returns true or false based on whether the lowercase Channel
name currently exists in the registry.
has_channel_registry
Returns true or false based on whether the App
has a ChannelRegistry
.