Skip to main content

apply_with

Function apply_with 

Source
pub fn apply_with(f: &Value, arg: Value, ctx: &Ctx) -> Result<Value, Raised>
Expand description

Applies a value to a single argument using a caller-supplied Ctx. This ensures identities minted by the call continue the provided context’s ID source rather than restarting at zero. Required for hosts that manage callables across multiple apply calls to avoid ID collisions.