Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 663 Bytes

prsc.streaming.md

File metadata and controls

24 lines (14 loc) · 663 Bytes

Home > prsc > streaming

streaming() function

Creates a StreamingParser which applies the given Parser and yields the value produced if it matches.

Signature:

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

Parameters

Parameter Type Description
parser Parser<T> The Parser to apply

Returns:

StreamingParser<T>