---
title: AsyncStream.Continuation.YieldResult
framework: swift
role: symbol
role_heading: Enumeration
path: swift/asyncstream/continuation/yieldresult
---

# AsyncStream.Continuation.YieldResult

A type that indicates the result of yielding a value to a client, by way of the continuation.

## Declaration

```swift
enum YieldResult
```

## Overview

Overview The various yield methods of AsyncStream.Continuation return this type to indicate the success or failure of yielding an element to the continuation.

## Topics

### Yield Results

- [AsyncStream.Continuation.YieldResult.enqueued(remaining:)](swift/asyncstream/continuation/yieldresult/enqueued(remaining:).md)
- [AsyncStream.Continuation.YieldResult.dropped(_:)](swift/asyncstream/continuation/yieldresult/dropped(_:).md)
- [AsyncStream.Continuation.YieldResult.terminated](swift/asyncstream/continuation/yieldresult/terminated.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Producing Elements

- [yield(_:)](swift/asyncstream/continuation/yield(_:).md)
- [yield(with:)](swift/asyncstream/continuation/yield(with:).md)
- [yield()](swift/asyncstream/continuation/yield().md)
