alias ActionController::MCPServer::Watcher

Overview

watches a resource for changes, see watch. Called with the template variables, the MCP request and a proc to call whenever the resource changes, it returns a proc that stops watching

Alias Definition

Hash(String, String), HTTP::Request, -> Nil -> -> Nil

Defined in:

action-controller/mcp.cr