Reference
The reference documentation for platform events covers an API object, Apex methods, limits, error codes, and standard platform events.
Check out this object in the Object Reference for the Salesforce Platform.
Check out these Apex resources in the Apex Reference Guide.
- EventBus Class in the
Systemnamespace - TriggerContext Class in the
EventBusnamespace
Check out these resources about limits, error codes, and standard platform events.
-
Learn about the allocations available for platform event definitions, publishing and subscribing to platform events, and event delivery in Pub/Sub API clients, CometD clients,
empApiLightning components, and event relays. -
Platform Event Error Status Codes
When publishing an event message results in an error, a status code is returned in the SaveResult.
-
Standard Platform Event Objects
Check out the standard platform events that Salesforce publishes.