Skip to content

Commit 9fa801d

Browse files
Rename CreateAsyncContextSnapshot (#143)
The name of the `CreateAsyncContextSnapshot` AO is confusing, since it's defined in the same section as the `AsyncContextSnapshot` AO, but the latter returns a spec-internal snapshot/mapping, whereas the former returns an `AsyncContext.Snapshot` object. This patch renames it to `CreateAsyncContextSnapshotObject` to make this difference clearer. Co-authored-by: Chengzhong Wu <cwu631@bloomberg.net>
1 parent fee5229 commit 9fa801d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,9 @@ <h1>
801801
</emu-alg>
802802
</emu-clause>
803803

804-
<emu-clause id="sec-createasynccontextsnapshot" type="abstract operation">
804+
<emu-clause id="sec-createasynccontextsnapshotobject" type="abstract operation">
805805
<h1>
806-
CreateAsyncContextSnapshot (
806+
CreateAsyncContextSnapshotObject (
807807
_snapshotMapping_: an Async Context Mapping
808808
): either a normal completion containing an AsyncContext.Snapshot object or a throw completion
809809
</h1>

0 commit comments

Comments
 (0)