Available on crate features
experimental and BackgroundService only.Expand description
Defines events for background web platform features.
Structs§
- Background
Service Event - Background
Service Event Builder - Background
Service Event Received Event - Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording.
- Clear
Events Command - Clears all stored data for the service.
- Clear
Events Return - Clears all stored data for the service.
- Event
Metadata - A key-value pair for additional event information to pass along.
- Recording
State Changed Event - Called when the recording state for the service has been updated.
- SetRecording
Command - Set the recording state for the service.
- SetRecording
Return - Set the recording state for the service.
- Start
Observing Command - Enables event updates for the service.
- Start
Observing Return - Enables event updates for the service.
- Stop
Observing Command - Disables event updates for the service.
- Stop
Observing Return - Disables event updates for the service.