{"id":"y-workplace/callable","name":"callable","scope":"y-workplace","platform":"roblox","description":"Callable is a lightweight request–response primitive that allows exactly one\nfunction to be registered and invoked later.\n\nIt represents a synchronous call endpoint where one system exposes a handler\nand other systems can request work or data by calling it. Unlike broadcast\nevents, a Callable enforces a single implementation and returns the result\ndirectly to the caller.\n\nA Callable follows a simple lifecycle:\n\n• Register – define the single handler function that will process calls.\n• Call – invoke the handler synchronously with the provided arguments.\n• Destroy – remove the handler and invalidate the callable.\n\nThis pattern is useful for service-style interactions where a system must\nprovide a deterministic response, such as queries, commands, or centralized\noperations, while keeping modules loosely coupled.\n\nCallable guarantees that:\n• only one handler can be registered at a time\n• calls fail if no handler exists\n• results are returned synchronously to the caller","version":"1.0.0","latest":"1.0.0","versions":["1.0.0"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{},"integrity":"6f981e5c8ba663de62bbdf6f0cde56127c4b56a511778b7767b19be0b38db872","likes":0,"downloads":0,"install":"forest install y-workplace/callable","url":"https://forest.dev/p/roblox/y-workplace/callable","files":"https://api.forest.dev/ai/package/roblox/y-workplace/callable/files","readme":"","readmeTruncated":false}