SwiftprotocolAppUserEvents

protocol AppUserEvents.UserEventSerializer

Members 3

  1. associatedtypeassociatedtype Session
  2. funcmethod descriptor for deserialize(Foundation.Data) throws -> A.Session
  3. funcmethod descriptor for serialize(identifier: String, dateInterval: Foundation.DateInterval, events: [A.Session.Event]) throws -> Foundation.Data
protocol UserEventSerializer where Self.Session: AppUserEvents.UserEventSession {
    associatedtype Session

    func serialize(identifier: Swift.String, dateInterval: Foundation.DateInterval, events: [Self.Session.Event]) throws -> Foundation.Data
    func deserialize(_: Foundation.Data) throws -> Self.Session
}