Skip to main content

invoke

Function invoke 

Source
pub async fn invoke(
    ws: &CheckedWorkspace,
    environment: &Environment,
    implementation: &Implementation,
    args: Vec<Value>,
    params: &[Type],
    expected: &Type,
) -> Result<Value, ExecError>
Expand description

Runs an implementation by starting a program and exchanging one message.

params is the type each argument is written against, in the same order.