---
title: "send(_:)"
framework: foundationmodels
role: symbol
role_heading: Instance Method
path: "foundationmodels/languagemodelexecutorgenerationchannel/send(_:)"
---

# send(_:)

Performs a send on the channel.

## Declaration

```swift
nonisolated(nonsending) func send(_ event: some LanguageModelExecutorGenerationChannel.Event) async
```

## Parameters

- `event`: The event to send.

## See Also

### Sending an event

- [LanguageModelExecutorGenerationChannel.Event](foundationmodels/languagemodelexecutorgenerationchannel/event.md)
