Поделиться через


CoreWebView2SharedWorkerManager Class

Definition

public class CoreWebView2SharedWorkerManager
type CoreWebView2SharedWorkerManager = class
Public Class CoreWebView2SharedWorkerManager
Inheritance
CoreWebView2SharedWorkerManager

Methods

GetSharedWorkersAsync()

Gets a list of the shared workers created under the same profile.

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](https://developer.mozilla.org/docs/Web/API/SharedWorker)
        for more information.

Applies to