Internal events

JavaScript
const publication = await services.events.emit(
  "customer.updated",
  { customerId: "customer-42" },
  { name: "publish-customer-update" }
);

It directly and durably fans out to all loaded <event> subscribers without HTTP or a control token. The result contains publication ID, event name, accepted/duplicate/rejected counts, status, depth, and safe per-subscriber delivery results. No subscribers is a successful no-op. Payloads must be top-level JSON objects no larger than 1 MiB. Limits: 1,000 subscribers per name, lineage depth 32, and cycle rejection.