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