()
| 519 | * @since 4.0.0 |
| 520 | */ |
| 521 | export const makeChannel = <IE = never>(): Channel.Channel< |
| 522 | NonEmptyReadonlyArray<Uint8Array>, |
| 523 | SocketError | IE, |
| 524 | void, |
| 525 | NonEmptyReadonlyArray<Uint8Array | string | CloseEvent>, |
| 526 | IE, |
| 527 | unknown, |
| 528 | Socket |
| 529 | > => Channel.unwrap(Effect.map(Socket, toChannelWith<IE>())) |
| 530 | |
| 531 | /** |
| 532 | * Default close-code classifier that treats every socket close code as an |
nothing calls this directly
no test coverage detected