()
| 296 | * @category combinators |
| 297 | */ |
| 298 | export const toChannelWith = <IE = never>() => |
| 299 | ( |
| 300 | self: Socket |
| 301 | ): Channel.Channel< |
| 302 | Chunk.Chunk<Uint8Array>, |
| 303 | Chunk.Chunk<Uint8Array | string | CloseEvent>, |
| 304 | SocketError | IE, |
| 305 | IE, |
| 306 | void, |
| 307 | unknown |
| 308 | > => toChannel(self) |
| 309 | |
| 310 | /** |
| 311 | * @since 1.0.0 |
no test coverage detected