Skip to main content

run

Function run 

Source
pub async fn run(
    commands: &CommandSender,
    world: WorldId,
    job: impl FnOnce(&mut World) -> Result<Output, String> + Send + 'static,
) -> ToolResult
Available on crate feature mcp and non-WebAssembly only.
Expand description

Send a job to the world world names and await its output.