Skip to content

Commit

Permalink
Add queueMicrotask
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Sep 20, 2024
1 parent 916c911 commit a438910
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -112790,6 +112790,9 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
DOMString <span data-x="dom-btoa">btoa</span>(DOMString data);
ByteString <span data-x="dom-atob">atob</span>(DOMString data);

// microtask queuing
undefined <span data-x="dom-queueMicrotask">queueMicrotask</span>(<span data-x="idl-VoidFunction">VoidFunction</span> <var>callback</var>);

// structured cloning
any <span data-x="dom-structuredClone">structuredClone</span>(any value, optional <span>StructuredSerializeOptions</span> options = {});
};
Expand Down Expand Up @@ -112881,9 +112884,6 @@ interface mixin <dfn interface>WindowOrWorkerGlobalScope</dfn> {
long <span data-x="dom-setInterval">setInterval</span>(<span>TimerHandler</span> handler, optional long timeout = 0, any... arguments);
undefined <span data-x="dom-clearInterval">clearInterval</span>(optional long id = 0);

// microtask queuing
undefined <span data-x="dom-queueMicrotask">queueMicrotask</span>(<span data-x="idl-VoidFunction">VoidFunction</span> <var>callback</var>);

// ImageBitmap
<span data-x="idl-Promise">Promise</span>&lt;<span>ImageBitmap</span>&gt; <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image, optional <span>ImageBitmapOptions</span> options = {});
<span data-x="idl-Promise">Promise</span>&lt;<span>ImageBitmap</span>&gt; <span data-x="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image, long sx, long sy, long sw, long sh, optional <span>ImageBitmapOptions</span> options = {});
Expand Down

0 comments on commit a438910

Please sign in to comment.