Skip to main content

StashingStream

ai-research-agent / extractor/pdf-to-html/models/StashingStream

Classes

default

Constructors

new default()
new default(): default
Returns

default

Methods

complete()
complete(): any[]
Returns

any[]

consume()
consume(item): void
Parameters
ParameterType

item

any

Returns

void

consumeAll()
consumeAll(items): void
Parameters
ParameterType

items

any

Returns

void

doFlushStash()
doFlushStash(stash, results): void
Parameters
ParameterType

stash

any

results

any

Returns

void

doMatchesStash()
doMatchesStash(lastItem, item): void
Parameters
ParameterType

lastItem

any

item

any

Returns

void

flushStash()
flushStash(): void
Returns

void

matchesStash()
matchesStash(item): true | void
Parameters
ParameterType

item

any

Returns

true | void

onPushOnStash()
onPushOnStash(item): void
Parameters
ParameterType

item

any

Returns

void

pushOnStash()
pushOnStash(item): void
Parameters
ParameterType

item

any

Returns

void

shouldStash()
shouldStash(item): void
Parameters
ParameterType

item

any

Returns

void

Properties

results
results: any[];
stash
stash: any[];