
Webiny Admin Websockets Catalog
Admin/websockets, 1 abstractions.
Install
npx skills add webiny/webiny-js --skill webiny-admin-websockets-catalog -g -a claude-code -y- Repository
- webiny/webiny-js8.1k
- Category
- Engineering
- Updated
- 5d ago
- License
- See repository
- Context cost
- Lightabout 185 tokens
- Runs scripts
- No, instructions only
What it does
admin/websockets, 1 abstractions.
admin/websockets
How to Use
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- Import:
import { Name } from "<importPath>";
Abstractions
Name: WebsocketEventHandler
Import: import { WebsocketEventHandler } from "webiny/admin/websockets"
Source: @webiny/app-websockets/events/abstractions.ts
Description: Handlers registered against this abstraction receive EVERY incoming websocket message
(published as a WebsocketEvent by the websockets→EventPublisher bridge). Each handler
is responsible for filtering by event.payload.action and reacting to the ones it cares
about, instead of subscribing to the websocket service directly.
