| 125 | * @since 4.0.0 |
| 126 | */ |
| 127 | export interface Reader<A extends Uint8Array | string = Uint8Array | string> { |
| 128 | readonly pull: Effect.Effect<NonEmptyReadonlyArray<A>, SocketError> |
| 129 | readonly upgrade: (options?: TlsUpgradeOptions) => Effect.Effect<void, SocketError> |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * The write side of a `Socket`. |
no outgoing calls
no test coverage detected