Tutorial: View.getSharedWorkers

View.getSharedWorkers

Retrieves information on all Shared Workers. It returns an array of ShareWorkerInfo.

Example

    const view = await fin.View.create({
        name: 'viewName',
        target: fin.me.identity,
        bounds: {top: 10, left: 10, width: 200, height: 200}
    });

    await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');

    const sharedWorkers = await view.getSharedWorkers();