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