Skip to main content

side_effect

Function side_effect 

Source
pub fn side_effect(effect: impl FnOnce() + 'static)
Expand description

Runs effect after every composition of the scope it is in that is applied. Compose’s SideEffect: how a composable publishes something to an object the composition does not manage.