Skip to main content

Module Worker

Module Worker 

Source
Expand description

Web Worker compilation support

This module provides:

  • Worker file detection and classification
  • Worker bootstrap code generation
  • Module handling for worker contexts

Re-exports§

pub use Detect::WorkerDetector;
pub use Bootstrap::WorkerBootstrap;
pub use Compile::WorkerCompiler;

Modules§

Bootstrap
Worker bootstrap code generation
Compile
Worker compilation orchestration
Detect
Worker file detection

Structs§

WorkerConfig
Configuration for worker compilation
WorkerInfo
Information about a detected worker file

Enums§

WorkerType
Type of web worker