Skip to main content

collect_dom_commands

Function collect_dom_commands 

Source
pub fn collect_dom_commands(
    events: MessageReader<'_, '_, ScriptCommandEvent>,
    pending: ResMut<'_, PendingDomCommands>,
)
Expand description

Collect this tick’s DOM / window commands from the script event stream and the external bus into PendingDomCommands, preserving order.