Closed
Description
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
Labels
No labels