Skip to main content

build_checkpoint_source

Function build_checkpoint_source 

Source
pub fn build_checkpoint_source(
    code: &str,
    connectors: &[ConnectorDescription],
    execution_id: &str,
) -> Result<String, String>
Expand description

Builds a promise queue whose continuation belongs entirely to the JavaScript heap.

Executors drain jobs, save the heap, dispatch the first queued payload, and resolve its promise. The heap retains no host future or native callback.