zng::widget

Function parallel

source
pub fn parallel(
    child: impl UiNode,
    enabled: impl IntoVar<Parallel>,
) -> impl UiNode
Expand description

P Defines what node list methods can run in parallel in the widget and descendants.

This property sets the PARALLEL_VAR that is used by UiNodeList implementers to toggle parallel processing.

See also WINDOWS.parallel to define parallelization in multi-window apps.