Skip to content

Commit f23540b

Browse files
jasnelldom96
andauthored
Apply suggestions from code review
Co-authored-by: Dominik Picheta <[email protected]>
1 parent 2356552 commit f23540b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ A socket becomes <i>closed</i> when its {{close()}} method is called. A socket c
4343

4444
<h3 id="connect-concept-section">Connect</h3>
4545

46-
<p class="note">The [=connect=] method here is defined in a `sockets` module here only for initial implementation purposes. It is imagined that in a finalized standard definition, the [=connect=] would be exposed as a global or within a [=binding object=]</p>
46+
<p class="note">The [=connect=] method here is defined in a `sockets` module only for initial implementation purposes. It is imagined that in a finalized standard definition, the [=connect=] would be exposed as a global or within a [=binding object=]</p>
4747

4848
A socket can be constructed using a <dfn export id="connect-concept">connect</dfn> method defined in a `sockets` module (early implementations may use `vendor:sockets` for the module name), or defined on a [=binding object=].
4949

5050
The connect method is the primary mechanism for creating a [=socket=] instance. It instantiates a socket with a resource identifier and some configuration values. It should synchronously return a socket instance in a <i>pending</i> state (or an error should be thrown). The socket will asynchronously <i>connect</i> depending on the implementation.
5151

5252
<h3 id="binding-object-concept">Binding Object</h3>
5353

54-
<p class="note">A [=binding object=] in this context is essentially just an object that exposes the a [=connect=] method conformant with this specification. It is anticipated that a runtime may have any number of such objects. This is an area where there is still active discussion on how this should be defined.</p>
54+
<p class="note">A [=binding object=] in this context is essentially just an object that exposes a [=connect=] method conformant with this specification. It is anticipated that a runtime may have any number of such objects. This is an area where there is still active discussion on how this should be defined.</p>
5555

5656
The <dfn export>binding object</dfn> defines extra socket `connect` options. The options it contains can modify the
5757
behaviour of the `connect` invoked on it. Some of the options it can define:

0 commit comments

Comments
 (0)