<!--
{
  "availability" : [
    "iOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessoryTransportExtension",
  "identifier" : "/documentation/AccessoryTransportExtension/AccessoryGPUWorker/Handler",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Accessory Transport Extension"
    ],
    "preciseIdentifier" : "s:27AccessoryTransportExtension0A9GPUWorkerV7Handlera"
  },
  "title" : "AccessoryGPUWorker.Handler"
}
-->

# AccessoryGPUWorker.Handler

A handler type for the session’s data provider.

```
typealias Handler = AccessoryFeatureSessionHandler<AccessoryGPUWorker.Session>
```

## Discussion

Conform your data provider extension’s handler to this type to receive events from an [`AccessoryGPUWorker.Session`](/documentation/AccessoryTransportExtension/AccessoryGPUWorker/Session). Because each feature uses its own `Handler` type alias, the compiler rejects a handler for this feature if you pass it to [`AccessoryWorker`](/documentation/AccessoryTransportExtension/AccessoryWorker) or another feature. Return an instance of your handler from the factory closure that you pass to [`init(_:)`](/documentation/AccessoryTransportExtension/AccessoryGPUWorker/init(_:)).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)