struct Protocol::BackgroundService::BackgroundServiceEvent
- Protocol::BackgroundService::BackgroundServiceEvent
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
protocol/background_service.crConstructors
Instance Method Summary
-
#event_metadata : Array(EventMetadata)
A list of event-specific information.
-
#event_name : String
A description of the event.
-
#instance_id : String
An identifier that groups related events together.
-
#origin : String
The origin this event belongs to.
-
#service : ServiceName
The Background Service this event belongs to.
-
#service_worker_registration_id : ServiceWorker::RegistrationID
The Service Worker ID that initiated the event.
-
#timestamp : Network::TimeSinceEpoch
Timestamp of the event (in seconds).
Constructor Detail
Instance Method Detail
def service_worker_registration_id : ServiceWorker::RegistrationID
#
The Service Worker ID that initiated the event.