diff --git a/spec.html b/spec.html index 5cfa730..4c52fc3 100644 --- a/spec.html +++ b/spec.html @@ -968,6 +968,26 @@

1. Return _asyncContextMapping_. + + +

+ CreateAsyncContextSnapshot ( + _snapshotMapping_: a List of Async Context Mapping Records + ): either a normal completion containing an AsyncContext.Snapshot object or a throw completion +

+
+
description
+
It is used to obtain an AsyncContext.Snapshot object representing the given List of Async Context Mapping Records.
+
+ + 1. Let _asyncSnapshot_ be ? OrdinaryCreateFromConstructor(%AsyncContext.Snapshot%, *"%AsyncContext.Snapshot.prototype%"*, « [[AsyncSnapshotMapping]] »). + 1. Set _asyncSnapshot_.[[AsyncSnapshotMapping]] to _snapshotMapping_. + 1. Return _asyncSnapshot_. + + +

This abstract operation is meant for hosts to use, and it is not used in this specification.

+
+