apollo-code / ui/src / MutableSlashCommandRegistry
Class: MutableSlashCommandRegistry
Implements
Constructors
Constructor
new MutableSlashCommandRegistry():
MutableSlashCommandRegistry
Returns
MutableSlashCommandRegistry
Methods
register()
register(
command,source): () =>void
Parameters
command
source
Returns
() => void
snapshot()
snapshot(): readonly
RegisteredSlashCommand[]
Returns
readonly RegisteredSlashCommand[]
Implementation of
subscribe()
subscribe(
listener): () =>void
Parameters
listener
() => void
Returns
() => void