CoreWebView2SharedWorkerManager.SharedWorkerCreated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when a web application creates a shared worker. A SharedWorker is a specific type of worker that can be accessed from several browsing contexts, such as multiple windows, iframes, or even other workers. Unlike Dedicated Workers, which have their own separate global scope, SharedWorkers share a common global scope called SharedWorkerGlobalScope.
This event is raised when a web application creates a shared worker using the
new SharedWorker("worker.js") method. See the
Shared Worker
for more information.
public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2SharedWorkerCreatedEventArgs> SharedWorkerCreated;
member this.SharedWorkerCreated : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2SharedWorkerCreatedEventArgs>
Public Custom Event SharedWorkerCreated As EventHandler(Of CoreWebView2SharedWorkerCreatedEventArgs)