---
title: "sendEvent(options:timeout:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsappleeventdescriptor/sendevent(options:timeout:)"
---

# sendEvent(options:timeout:)

Sends an Apple event.

## Declaration

```swift
func sendEvent(options sendOptions: NSAppleEventDescriptor.SendOptions = [], timeout timeoutInSeconds: TimeInterval) throws -> NSAppleEventDescriptor
```
