Skip to content

Segmenter does not permit skipping long tokens #11

@atombender

Description

@atombender

If the stream encounters a token that exceeds maxTokenSize, it appears the caller has no way of truncating or skipping the token: The error is final. There's no way to alter maxTokenSize, either. As far as I can see, the only solution is to not use Segmenter at all, but to write new streaming logic from scratch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions