AccessoryWorker.Handler
A handler type for the session’s data provider.
Declaration
typealias Handler = AccessoryFeatureSessionHandler<AccessoryWorker.Session>Discussion
Conform your data provider extension’s handler to this type to receive events from an AccessoryWorker.Session. Because each feature uses its own Handler type alias, the compiler rejects a handler for this feature if you pass it to AccessoryGPUWorker or another feature. Return an instance of your handler from the factory closure that you pass to init(_:).