tuil
ReferencePackages@mwillbanks/tuil-streamingAPI

FormatParserSession

interface exported by @mwillbanks/tuil-streaming.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-streaming.

export interface FormatParserSession {
  write(chunk: string, complete: boolean): PartialDocument;
  reset(): void;
}

Members

MemberTypeRequiredDescriptionRelated types
write(chunk: string, complete: boolean) => PartialDocumentYesThe write member uses the (chunk: string, complete: boolean) => PartialDocument contract.PartialDocument
reset() => voidYesThe reset member uses the () => void contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-streaming

On this page