Composable streaming fold/unfold