@@ -5675,9 +5675,12 @@ <h3>Algorithm</h3>
56755675 work with.</ p >
56765676
56775677 < p > The JSON-LD API uses < a data-cite ="ECMASCRIPT#sec-promise-objects "> Promises</ a > to represent
5678- the result of the various asynchronous operations.
5678+ the result of the various deferred operations.
56795679 < a data-cite ="ECMASCRIPT#sec-promise-objects "> Promises</ a > are defined in [[ECMASCRIPT]].
5680- General use within specifications can be found in [[promises-guide]].</ p >
5680+ General use within specifications can be found in [[promises-guide]].
5681+ < span class ="changed "> Implementations MAY chose to implement in an appropriate way for their native environments
5682+ as long as they generally use the same methods, arguments and options
5683+ and return the same results.</ span > </ p >
56815684
56825685 < p class ="note "> Interfaces are marked `[Exposed=(Window,Worker)]`,
56835686 but the API is also intended for use outside of a browser context.</ p >
@@ -5734,7 +5737,7 @@ <h3>Algorithm</h3>
57345737
57355738 < ol >
57365739 < li > Create a new {{Promise}} < var > promise</ var > and return it.
5737- The following steps are then executed asynchronously .</ li >
5740+ The following steps are then deferred .</ li >
57385741 < li > Set < var > expanded input</ var > to the result of
57395742 using the < a data-link-for ="JsonLdProcessor "> expand()</ a > method
57405743 using < a data-lt ="jsonldprocessor-compact-input "> input</ a >
@@ -5785,7 +5788,7 @@ <h3>Algorithm</h3>
57855788
57865789 < ol >
57875790 < li > Create a new {{Promise}} < var > promise</ var > and return it.
5788- The following steps are then executed asynchronously .</ li >
5791+ The following steps are then deferred .</ li >
57895792 < li > If the passed < a data-lt ="jsonldprocessor-expand-input "> input</ a >
57905793 is a < a > string</ a > representing the < a > IRI</ a > of a remote document, await and dereference it as < var > remote document</ var >
57915794 using < a > LoadDocumentCallback</ a > , passing < a data-lt ="jsonldprocessor-expand-input "> input</ a >
@@ -5840,7 +5843,7 @@ <h3>Algorithm</h3>
58405843
58415844 < ol >
58425845 < li > Create a new {{Promise}} < var > promise</ var > and return it.
5843- The following steps are then executed asynchronously .</ li >
5846+ The following steps are then deferred .</ li >
58445847 < li > Set < var > expanded input</ var > to the result of using the < a data-link-for ="JsonLdProcessor "> expand()</ a > method
58455848 using < a data-lt ="jsonldprocessor-flatten-input "> input</ a >
58465849 and < a data-lt ="jsonldprocessor-flatten-options "> options</ a >
@@ -5896,7 +5899,7 @@ <h3>Algorithm</h3>
58965899
58975900 < ol >
58985901 < li > Create a new {{Promise}} < var > promise</ var > and return it.
5899- The following steps are then executed asynchronously .</ li >
5902+ The following steps are then deferred .</ li >
59005903 < li > Set < var > expanded result</ var > to the result of invoking the
59015904 < a href ="#serialize-rdf-as-json-ld-algorithm "> Serialize RDF as JSON-LD Algorithm</ a > method
59025905 using < a data-lt ="jsonldprocessor-fromRdf-input "> dataset</ a >
@@ -5924,7 +5927,7 @@ <h3>Algorithm</h3>
59245927
59255928 < ol >
59265929 < li > Create a new {{Promise}} < var > promise</ var > and return it.
5927- The following steps are then executed asynchronously .</ li >
5930+ The following steps are then deferred .</ li >
59285931 < li > Set < var > expanded input</ var > to the result of using the
59295932 < a data-link-for ="JsonLdProcessor "> expand()</ a > method
59305933 using < a data-lt ="jsonldprocessor-toRdf-input "> input</ a >
@@ -6260,7 +6263,7 @@ <h3>LoadDocumentCallback</h3>
62606263
62616264 < ol class ="changed ">
62626265 < li > Create a new {{Promise}} < var > promise</ var > and return it.
6263- The following steps are then executed asynchronously .</ li >
6266+ The following steps are then deferred .</ li >
62646267 < li id ="LoadDocumentCallback-step-2 "> Set < var > document</ var > to the body retrieved from
62656268 the resource identified by < a data-link-for ="LoadDocumentCallback "> url</ a > ,
62666269 or by otherwise locating a resource associated with < a data-link-for ="LoadDocumentCallback "> url</ a > .
0 commit comments