()
| 716 | * @since 4.0.0 |
| 717 | */ |
| 718 | export const toChannelWith = <IE = never>() => |
| 719 | ( |
| 720 | self: Socket |
| 721 | ): Channel.Channel< |
| 722 | NonEmptyReadonlyArray<Uint8Array>, |
| 723 | SocketError | IE, |
| 724 | void, |
| 725 | NonEmptyReadonlyArray<Uint8Array | string | CloseEvent>, |
| 726 | IE |
| 727 | > => toChannel(self) |
| 728 | |
| 729 | /** |
| 730 | * Converts a `Socket` into a read-only binary `Stream` backed by the socket's |
no test coverage detected