UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

15 lines (14 loc) 470 B
import { Trie } from "@wry/trie"; import { StreamArrayState } from "./StreamArrayState.js"; /** * @internal * * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time. */ export function makeStreamInfoTrie() { return new Trie(false, (path) => ({ state: new StreamArrayState(path), current: { isFirstChunk: true, isLastChunk: false }, })); } //# sourceMappingURL=makeStreamInfoTrie.js.map