Skip to content

Simplify Stream API #729

@DavidBadura

Description

@DavidBadura

The Stream interface currently has two methods, position() and index(). These are difficult to implement and must be nullable (if the stream isn't already being iterated). The API should be simplified: Both methods will be removed. You can track the current position yourself. The index will be the array key in the future.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions