CoreWebView2SharedWorkerManager Class

Summary

Members Description
GetSharedWorkersAsync
SharedWorkerCreated Add an event handler for the SharedWorkerCreated event.

Methods

GetSharedWorkersAsync

IAsyncOperation<IVectorView<CoreWebView2SharedWorker>> GetSharedWorkersAsync()

Events

SharedWorkerCreated

Add an event handler for the SharedWorkerCreated event.

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.

Type: TypedEventHandler<CoreWebView2SharedWorkerManager, CoreWebView2SharedWorkerCreatedEventArgs>

Referenced by