MCPcopy
hub / github.com/vercel/streamdown / AnimateRenderState

Interface AnimateRenderState

packages/streamdown/lib/animate.ts:128–131  ·  view source on GitHub ↗

* Mutable render state shared between the plugin API and the rehype * closure. Stored separately from AnimateConfig so that the processor * cache (which retains the first closure) always reads from the same * object that setPrevContentLength / getLastRenderCharCount mutate.

Source from the content-addressed store, hash-verified

126 * object that setPrevContentLength / getLastRenderCharCount mutate.
127 */
128interface AnimateRenderState {
129 lastRenderCharCount: number;
130 prevContentLength: number;
131}
132
133const processTextNode = (
134 node: Text,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected