()
| 796 | * @since 4.0.6 |
| 797 | */ |
| 798 | export const encode = <IE = never, Done = unknown>(): Channel.Channel< |
| 799 | Arr.NonEmptyReadonlyArray<Uint8Array>, |
| 800 | IE | JsonArrayError, |
| 801 | Done, |
| 802 | Arr.NonEmptyReadonlyArray<unknown>, |
| 803 | IE, |
| 804 | Done |
| 805 | > => Channel.map(encodeString(), Arr.map((text) => encoder.encode(text))) |
| 806 | |
| 807 | /** |
| 808 | * Creates a channel that encodes values with a schema and writes them as the |
no test coverage detected