@apollo/client
Version:
A fully-featured caching GraphQL client.
18 lines (17 loc) • 629 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeStreamInfoTrie = makeStreamInfoTrie;
const trie_1 = require("@wry/trie");
const StreamArrayState_js_1 = require("./StreamArrayState.cjs");
/**
* @internal
*
* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.
*/
function makeStreamInfoTrie() {
return new trie_1.Trie(false, (path) => ({
state: new StreamArrayState_js_1.StreamArrayState(path),
current: { isFirstChunk: true, isLastChunk: false },
}));
}
//# sourceMappingURL=makeStreamInfoTrie.cjs.map