Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 800 Bytes

prsc.streamingcomplete.md

File metadata and controls

24 lines (14 loc) · 800 Bytes

Home > prsc > streamingComplete

streamingComplete() function

Creates a StreamingParser that applies the given parser and directly yields values produced by it, and then only succeeds if parsing concludes at the end of the input string.

Signature:

export declare function streamingComplete<T>(parser: StreamingParser<T>): StreamingParser<T>;

Parameters

Parameter Type Description
parser StreamingParser<T> StreamingParser to apply

Returns:

StreamingParser<T>