admin/websockets

SkillDev tools

Lets your app code handle every incoming WebSocket message through a shared event handler.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the admin/websockets skill

About this skill

admin/websockets, 1 abstractions.

What this skill tells your AI

The instructions your AI receives, as published by webiny/webiny-js in skills/user-skills/generated/admin/websockets/SKILL.md and read by ahel’s review.

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.


Signals

GitHub stars
8k
Forks
679
Last commit
Sep 2026
Advanced
Item type
skill
Key
webiny-admin-websockets-catalog
Source
github.com/webiny/webiny-js