---
title: mask
framework: dispatch
role: symbol
role_heading: Instance Property
path: dispatch/dispatchsourceprotocol/mask
---

# mask

Returns the mask of events monitored by the dispatch source.

## Declaration

```swift
var mask: UInt { get }
```

## See Also

### Getting the Dispatch Source Attributes

- [handle](dispatch/dispatchsourceprotocol/handle.md)
- [data](dispatch/dispatchsourceprotocol/data.md)
