Skip to main content

encode_patches

Function encode_patches 

Source
pub fn encode_patches(updates: &[SceneUpdate]) -> String
Expand description

Encode a batch of Scene updates as the untagged-JSON { "patches": [...] } response the browser’s patch listener consumes.