MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / SplitBlocksResult

Interface SplitBlocksResult

src/rehtml/split-blocks.ts:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { BLOCK_TAGS, TAG_PATTERN, VOID_TAGS } from "./constants";
2
3export interface SplitBlocksResult {
4 /** Fully closed top-level blocks — safe to memoize */
5 stable: string[];
6 /** Currently streaming fragment (may be incomplete) */
7 live: string;
8}
9
10/**
11 * Splits HTML into stable (completed) top-level blocks and a live tail.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected