You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: PostWebMessageAsJson and PostWebMessageAsString APIs for workers
Currently, if developers want to post a message to or from a worker, they must first post a message to the main thread and then post a message to the worker from the main thread. This leads to increased load on the main thread.
The WebView2 team is introducing APIs that allow messages to be posted directly from the Host app to dedicated and service workers, and vice versa. This eliminates the need for the main thread to act as an intermediary, thereby improving app performance and responsiveness.
API Review
Title: PostWebMessageAsJson and PostWebMessageAsString APIs for workers
Currently, if developers want to post a message to or from a worker, they must first post a message to the main thread and then post a message to the worker from the main thread. This leads to increased load on the main thread.
The WebView2 team is introducing APIs that allow messages to be posted directly from the Host app to dedicated and service workers, and vice versa. This eliminates the need for the main thread to act as an intermediary, thereby improving app performance and responsiveness.
API Spec: MicrosoftEdge/WebView2Feedback#5170
Please review the pull request and add any feedback you have about the APIs. We appreciate your input and support!
The text was updated successfully, but these errors were encountered: