---
title: "enqueue(_:completionHandler:)"
framework: Video Subscriber Account
role: symbol
role_heading: Instance Method
platforms: [iOS 10.0+, iPadOS 10.0+, Mac Catalyst 10.0+, tvOS 10.0+, visionOS 1.0+]
path: "videosubscriberaccount/vsaccountmanager/enqueue(_:completionhandler:)"
---

# enqueue(_:completionHandler:)

Submits a request for subscriber account information.

## Declaration

```swift
func enqueue(_ request: VSAccountMetadataRequest, completionHandler: @escaping (VSAccountMetadata?, (any Error)?) -> Void) -> VSAccountManagerResult
```

## Parameters

- `request`: A doc://com.apple.videosubscriberaccount/documentation/VideoSubscriberAccount/VSAccountMetadataRequest object that contains the information that your app requests.
- `completionHandler`: The closure that the account manager executes after the request completes. This closure has no return value and takes the following parameters:

## Return Value

Return Value Returns a VSAccountManagerResult object that your app can use with cancel() to cancel the request.

## See Also

### Enqueuing requests

- [VSAccountMetadataRequest](videosubscriberaccount/vsaccountmetadatarequest.md)
- [VSAccountMetadata](videosubscriberaccount/vsaccountmetadata.md)
- [VSAccountManagerResult](videosubscriberaccount/vsaccountmanagerresult.md)
- [VSAccountProviderResponse](videosubscriberaccount/vsaccountproviderresponse.md)
- [VSAccountProviderAuthenticationScheme](videosubscriberaccount/vsaccountproviderauthenticationscheme.md)
