Event

public struct Event<Payload> : Decodable where Payload : Decodable

Events sent by the server that do not have an associated action instance.

  • An opaque value identifying the device.

    Declaration

    Swift

    public let device: String
  • The payload of the event.

    Declaration

    Swift

    public let payload: Payload