Skip to main content

create_script

Function create_script 

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

Compiles source and stores it with its bytecode as a new script.

ยงErrors

A compile failure stores nothing; otherwise the server failure.