1
0
Fork 1
mirror of https://example.com synced 2024-11-27 20:36:38 +09:00
firefish/packages/firefish-js/markdown/firefish-js.channelconnection.send.md
ThatOneCalculator ff08ec77ee
we be renamin
2023-07-15 14:21:17 -07:00

26 lines
598 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [firefish-js](./firefish-js.md) &gt; [ChannelConnection](./firefish-js.channelconnection.md) &gt; [send](./firefish-js.channelconnection.send.md)
## ChannelConnection.send() method
**Signature:**
```typescript
send<T extends keyof Channel["receives"]>(
type: T,
body: Channel["receives"][T],
): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | T | |
| body | Channel\["receives"\]\[T\] | |
**Returns:**
void