docs: add documentation for iterating over channels (#3)
This commit is contained in:
parent
734be1f070
commit
3a2c88c5cb
|
@ -159,6 +159,10 @@ Same as `channel.cork` but on the muxer instance.
|
||||||
|
|
||||||
Same as `channel.uncork` but on the muxer instance.
|
Same as `channel.uncork` but on the muxer instance.
|
||||||
|
|
||||||
|
#### `for (const channel of muxer) { ... }`
|
||||||
|
|
||||||
|
The muxer instance is iterable, so you can iterate over all the channels.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|
Reference in New Issue