struct Protocol::BackgroundService::BackgroundServiceEvent

Included Modules

Defined in:

protocol/background_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def event_metadata : Array(EventMetadata) #

A list of event-specific information.


[View source]
def event_name : String #

A description of the event.


[View source]
def instance_id : String #

An identifier that groups related events together.


[View source]
def origin : String #

The origin this event belongs to.


[View source]
def service : ServiceName #

The Background Service this event belongs to.


[View source]
def service_worker_registration_id : ServiceWorker::RegistrationID #

The Service Worker ID that initiated the event.


[View source]
def timestamp : Network::TimeSinceEpoch #

Timestamp of the event (in seconds).


[View source]