Skip to main content

serialise_expr_via

Function serialise_expr_via 

Source
pub fn serialise_expr_via(
    t: &TypeRef,
    value: &TsExpr,
    ns: &str,
    ru: &RuntimeUse,
) -> TsExpr
Expand description

v0.176 (#642): the one serialise dispatch for the workers cross-context boundary, reaching helpers through ns. Replaces the two parallel dispatches this boundary used to carry — emit.rs’s workers_serialise_expr (which dropped List/Map to a bare as JsonValue cast) and workers_entry.rs’s serialise_call (which did the same to Bytes, the asymmetry that forced bynk.types.bytes_at_workers_boundary).