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