A store whose listing can change after build() and reports each change to its listeners.
build()
public
onListChanged(Closure(): void $listener): void
Registers a listener invoked once per change to the entries this store lists.
Nexus\Mcp\Server\Prompt\PromptStore::onListChanged()
Nexus\Mcp\Server\Resource\ResourceTemplateStore::onListChanged()
Nexus\Mcp\Server\Tool\ToolStore::onListChanged()
Nexus\Mcp\Server\Resource\CompositeResourceStore::onListChanged()
Nexus\Mcp\Server\Resource\ResourceStore::onListChanged()