23 lines
505 B
Markdown
23 lines
505 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [Stream](./firefish-js.stream.md) > [send](./firefish-js.stream.send.md)
|
|
|
|
## Stream.send() method
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
send(typeOrPayload: any, payload?: any): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| typeOrPayload | any | |
|
|
| payload | any | _(Optional)_ |
|
|
|
|
**Returns:**
|
|
|
|
void
|
|
|