Skip to content

Commit c9ee6a8

Browse files
committed
Add ednote about difference between consume() and constructing ConsumedThing
Signed-off-by: Zoltan Kis <[email protected]>
1 parent 802d598 commit c9ee6a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,12 @@ <h2>The <dfn>WOT</dfn> namespace</dfn></h2>
429429
Resolve |promise| with |thing|.
430430
</li>
431431
</ol>
432+
<p class="ednote">
433+
Note the difference between constructing <a>ConsumedThing</a> and using
434+
the <code>consume()</code> method: the latter also initializes the protocol
435+
bindings, whereas a simple constructed object will not have <a>WoT Interactions</a>
436+
initialized until they are invoked.
437+
</p>
432438
</div>
433439
</section>
434440

0 commit comments

Comments
 (0)