
Webiny API Event Publisher Catalog
Api/event-publisher, 2 abstractions.
Install
npx skills add webiny/webiny-js --skill webiny-api-event-publisher-catalog -g -a claude-code -y- Repository
- webiny/webiny-js8.1k
- Category
- Engineering
- Updated
- 5d ago
- License
- See repository
- Context cost
- Lightabout 193 tokens
- Runs scripts
- No, instructions only
What it does
api/event-publisher, 2 abstractions.
api/event-publisher
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>"; - See
webiny-use-case-patternorwebiny-event-handler-patternskills for implementation patterns
Abstractions
Name: DomainEvent
Import: import { DomainEvent } from "webiny/api/event-publisher"
Source: @webiny/api-core/features/eventPublisher/index.ts
Description: Base class for all domain events.
Name: EventPublisher
Import: import { EventPublisher } from "webiny/api/event-publisher"
Source: @webiny/api-core/features/eventPublisher/index.ts
Description: Publish domain events to registered handlers.
