MCPcopy Create free account
hub / github.com/Effect-TS/effect / encodeString

Function encodeString

packages/effect/src/encoding/Xml.ts:780–787  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

778 * @since 4.0.6
779 */
780export const encodeString = <IE = never, Done = unknown>(): Channel.Channel<
781 Arr.NonEmptyReadonlyArray<string>,
782 XmlError | IE,
783 Done,
784 Arr.NonEmptyReadonlyArray<Event>,
785 IE,
786 Done
787> => makeChannel<Event, string, IE, Done>(() => new Writer(false))
788
789/**
790 * Creates a channel that writes events as UTF-8 XML bytes.

Callers

nothing calls this directly

Calls 1

makeChannelFunction · 0.70

Tested by

no test coverage detected