Skip to main content

webiny-admin-websockets-catalog

admin/websockets — 1 abstractions.

Source facts

Repository
webiny/webiny-js
Last source activity
July 24, 2026 at 12:20
Detected SKILL.md language
English
Stars
8,050
Forks
683

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
webiny-admin-websockets-catalog
description
admin/websockets — 1 abstractions.
# admin/websockets ## How to Use 1. Find the abstraction you need below 2. You MUST read the source file to get the exact interface and types! 3. 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. ---
View on GitHub