Skip to content

Commit 8f6245f

Browse files
author
Michael Wilson
committed
Add explicit notes about allowing multiple calls to promise functions
1 parent c07b3a1 commit 8f6245f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ <h2>
273273
If the user declines or the call is denied for any other reason,
274274
the Promise is rejected with a {{DOMException}} parameter.
275275
</p>
276+
<p>
277+
Multiple calls to {{requestMIDIAccess()}} are allowed
278+
even if not all vended Promises have settled.
279+
</p>
276280
<p data-link-for="Navigator">
277281
When the {{requestMIDIAccess()}} method is called, the user agent
278282
MUST run the following steps:
@@ -698,6 +702,10 @@ <h2 id="MIDIPort">
698702
"MIDIPortDeviceState.connected">"connected"</a> or all references
699703
to it are dropped.
700704
</p>
705+
<p>
706+
Multiple calls to <code>open()</code> are allowed even
707+
if not all vended Promises have settled.
708+
</p>
701709
<p>
702710
When this method is called, the user agent MUST run the
703711
<dfn data-lt="open the port">algorithm to open a MIDIPort</dfn>:
@@ -836,6 +844,10 @@ <h2 id="MIDIPort">
836844
Promise is resolved. If the port is disconnected, the Promise is
837845
rejected.
838846
</p>
847+
<p>
848+
Multiple calls to <code>close()</code> are allowed even
849+
if not all vended Promises have settled.
850+
</p>
839851
<p>
840852
When the <code>close()</code> method is called, the user agent
841853
MUST run the following steps:

0 commit comments

Comments
 (0)