Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →api/event-publisher — 2 abstractions.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -50% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -72% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -66% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -62% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -71% | 0% |
import { Name } from "<importPath>";webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patternsName: 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.
Other measured skills in the registry, with their headline benchmark lift.