Comctx

Examples

Examples available in this repository.

This repository includes these examples:

Available examples in this docs site

This docs site currently includes pages for:

  • Web Worker
  • Browser Extension
  • Iframe

These pages are based on the real example source code in this repository.

Examples in this repository

Web Worker

Communication between the main page and a Web Worker.

Shared Worker

Communication through a Shared Worker example in the repository.

Service Worker

Communication through a Service Worker example in the repository.

Worker Transfer

An example focused on transferable objects and transfer-enabled communication.

Browser Extension

Communication across browser extension contexts.

iframe

Communication between the main page and an iframe.

Repository source

See the repository examples directory for the full set of example projects:

Next steps

Open one of the documented examples in this section:

  • Web Worker
  • Browser Extension
  • Iframe

On this page