Skip to main content

handle_model_open

Function handle_model_open 

Source
pub async fn handle_model_open(
    Runtime: Arc<ApplicationRunTime>,
    Args: Vec<Value>,
) -> Result<Value, String>
Expand description

Open a text model: read content from disk and register in DocumentState. Returns { uri, content, version, languageId }.