Skip to content

Consider changing next() in ThingDiscovery #177

Closed
@zolkis

Description

@zolkis

In the TAG review of WoT Architecture there were couple of comments on Scripting API as well.

This issue tracks the comment that the next() method in ThingDiscovery resembles an async iterator: either use iterators or change the name?

Option A: keep using next() and add an editor's note that while this resembles async iterators, it is not actually based on them, due to constrained implementations.

Option B: change the name for next() to avoid confusions.

Option C: actually use async iterators.

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