---
title: "receive(_:)"
framework: combine
role: symbol
role_heading: Instance Method
path: "combine/record/recording-swift.struct/receive(_:)"
---

# receive(_:)

Add an output to the recording.

## Declaration

```swift
mutating func receive(_ input: Record<Output, Failure>.Recording.Input)
```

## Discussion

Discussion A fatalError will be raised if output is added after adding completion.
