---
title: "perform(handler:)"
framework: social
role: symbol
role_heading: Instance Method
path: "social/slrequest/perform(handler:)"
---

# perform(handler:)

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

## Declaration

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

## Parameters

- `handler`: The handler to call when the request is done. The parameters for this handler are described in doc://com.apple.social/documentation/Social/SLRequestHandler. This handler is not guaranteed to be called on any particular thread and should not be nil.

## See Also

### Sending a Request

- [SLRequestHandler](social/slrequesthandler.md)
