<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Social",
  "identifier" : "/documentation/Social/SLRequest/perform(handler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Social"
    ],
    "preciseIdentifier" : "c:objc(cs)SLRequest(im)performRequestWithHandler:"
  },
  "title" : "perform(handler:)"
}
-->

# perform(handler:)

Performs an asynchronous request and calls the specified handler when done.

```
func perform(handler: SLRequestHandler!)
```

## Parameters

`handler`

The handler to call when the request is done. The parameters for this handler are described in [`SLRequestHandler`](/documentation/Social/SLRequestHandler). This handler is not guaranteed to be called on any particular thread and should not be nil.

---

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)