# Channel

```ts
interface Channel<T, TClose> extends Stream<T, TClose>
```

A broadcast channel that multiple consumers can subscribe to the
via the same [Stream](https://frontside.com/effection/api/v4/Stream.md), and messages sent to the channel are
received by all consumers. The channel is not buffered, so if there
are no consumers, the message is dropped.


### Type Parameters
T


TClose


### Methods
<dl>
<dt class="border-dotted [&:not(:first-child)]:border-t-2 [&:not(:first-child)]:pt-3 [&:not(:first-child)]:mt-2"><h4 id="send" class="inline scroll-mt-[100px]">send</h4>(**message**: T): [Operation](https://frontside.com/effection/api/v4/Operation.md)&lt;void&gt;</dt>
<dd class="flex flex-col [&>pre]:mb-3 [&>p:not(:first-child)]:mt-0" >
Send a message to all subscribers of this [Channel](https://frontside.com/effection/api/v4/Channel.md)
</dd>
<dt class="border-dotted [&:not(:first-child)]:border-t-2 [&:not(:first-child)]:pt-3 [&:not(:first-child)]:mt-2"><h4 id="close" class="inline scroll-mt-[100px]">close</h4>(**value**: TClose): [Operation](https://frontside.com/effection/api/v4/Operation.md)&lt;void&gt;</dt>
<dd class="flex flex-col [&>pre]:mb-3 [&>p:not(:first-child)]:mt-0" >
End every subscription to this [Channel](https://frontside.com/effection/api/v4/Channel.md)
</dd>
</dl>

[View code](https://github.com/thefrontside/effection/tree/effection-v4.2.0/lib/channel.ts#L12)
