ProtocolRedwoodComposition

fun ProtocolRedwoodComposition(scope: CoroutineScope, guestAdapter: GuestProtocolAdapter, widgetVersion: UInt, onBackPressedDispatcher: OnBackPressedDispatcher, saveableStateRegistry: SaveableStateRegistry?, uiConfigurations: StateFlow<UiConfiguration>, onEndChanges: () -> Unit = {}): RedwoodComposition

Parameters

scope

A CoroutineScope whose coroutineContext must have a MonotonicFrameClock key which is being ticked.