Skip to content

How should Utils.createEnumerator work? #115

@rzinnatullin

Description

@rzinnatullin

This is the interface definition of createEnumerator:

createEnumerator<T>(initialize: () => void, tryGetNext: () => boolean, dispose: () => void): IEnumerator<T>;

It doesn't accept anything like "getCurrent: () => T", so how is it supposed to get actual values when enumerating?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions