rhai_context_reload

Function rhai_context_reload 

Source
pub fn rhai_context_reload(
    context_key: &ScriptAttachment,
    content: &[u8],
    context: &mut RhaiScriptContext,
    world_id: WorldId,
) -> Result<(), InteropError>
Expand description

Reload a rhai context from a script. New content is appended to the existing context.