# GeneratorChannel

`import { GeneratorChannel } from "destack:async";`

Step surface passed to one lowered generator body.

```ds title="GeneratorChannel"
export struct GeneratorChannel<Y, R, N> {
    yield(value: Y): GeneratorResume<R, N>;
}
```

[language/library/src/async/generator.ds:54:59](https://github.com/destack-sh/destack/blob/main/language/library/src/async/generator.ds#L54-L59)

## Members

### `yield(value: Y): GeneratorResume<R, N>`

Deliver one yielded value and block until the next request.
