pub fn compile_source_strict_with_cancel(
source: &str,
options: &CompileOptions,
cancel: Option<Arc<AtomicBool>>,
) -> Result<BytecodeChunk, CompileError>Expand description
Cancellation-aware form of compile_source_strict.
ยงErrors
As compile_source_strict, plus CompileErrorKind::Cancelled when the
flag is set at a cooperative compiler safepoint.