Skip to main content

update_script_source

Function update_script_source 

Source
pub async fn update_script_source(
    user: &User,
    id: Uuid,
    source: String,
) -> Result<(), ScriptError>
Expand description

Recompiles source and replaces the script’s source and bytecode together.

§Errors

A compile failure leaves the script as it was; otherwise the server failure.