Skip to main content

webiny-admin-websockets-catalog

admin/websockets — 1 abstractions.

Informações da origem

Repositório
webiny/webiny-js
Última atividade na origem
24 de julho de 2026 às 12:20
Idioma detectado do SKILL.md
inglês
Estrelas
8.050
Forks
683

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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. ---
Ver no GitHub