Home > prsc > streamingComplete
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>;
Parameter | Type | Description |
---|---|---|
parser | StreamingParser<T> | StreamingParser to apply |
Returns: