Skip to main content

compile_to_stencil_offthread

Function compile_to_stencil_offthread 

Source
pub fn compile_to_stencil_offthread<F>(
    options: *const ReadOnlyCompileOptions,
    source: Arc<String>,
    callback: F,
) -> OffThreadToken
Expand description

Creates a new thread and starts compilation there

Callback receives stencil that can either consumed or returned