Skip to main content

Crate rspack_tasks

Crate rspack_tasks 

Source

Structs§

CompilerContext

Statics§

CURRENT_COMPILER_CONTEXT

Functions§

fetch_new_dependency_id
get_current_dependency_id
set_current_dependency_id
spawn_in_compiler_context
spawn_in_context
Like spawn_in_compiler_context, but falls back to a plain tokio::spawn when there is no active compiler context (e.g. in unit tests or utility code that is not driven by a compiler).
within_compiler_context
within_compiler_context_for_testing
For test use only.
within_compiler_context_for_testing_sync
For test use only.
within_compiler_context_sync