Function immediate
pub fn immediate(
root: Box<dyn Widget>,
resource: Resource,
run: impl FnMut(&[u8]) -> Result<ActionOutput, String> + 'static,
) -> Box<dyn Widget>Expand description
Wrap a root with a synchronous typed resource operation.