2023-06-24 06:13:03 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2023-07-03 00:18:30 +02:00
|
|
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [send](./firefish-js.stream.send.md)
|
2023-06-24 06:13:03 +02:00
|
|
|
|
|
|
|
## Stream.send() method
|
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
send(typeOrPayload: any, payload?: any): void;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| typeOrPayload | any | |
|
|
|
|
| payload | any | _(Optional)_ |
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
void
|
|
|
|
|