يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.
مراجعة ملفات المصدر
اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.
عرض SKILL.md
SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
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.
---
Follow https://skillsmp.com/skill-install/prompt.md to install only the Agent Skill at https://github.com/webiny/webiny-js/tree/next/skills/user-skills/generated/admin/websockets.
يتجاوز الأمر المباشر Prompt المخصّص للمراجعة. افحص المصدر قبل تشغيله.