---
title: "or(data:)"
framework: dispatch
role: symbol
role_heading: Instance Method
path: "dispatch/dispatchsourceuserdataor/or(data:)"
---

# or(data:)

## Declaration

```swift
func or(data: UInt)
```

## Parameters

- `data`: The value you want to merge with the existing data in the dispatch source. The dispatch source ORs this value with the currently pending data.

## Discussion

Discussion After you call this method, the dispatch source submits its event handler to its target queue to process the data. If you specify 0 for the data parameter, the dispatch source does not submit its event hander for execution.
