Function run

Source
pub async fn run<N, W, H, C>(
    theme: Theme,
    config: RenderConfig,
    deck: Arc<AsyncStreamDeck>,
    context: C,
) -> Result<(), Box<dyn Error>>
where W: ArrayLength, H: ArrayLength, C: Send + Sync + Clone + 'static, N: NavigationEntry<W, H, C>,
Expand description

Run a Stream Deck application with the specified configuration.

This function takes a theme, render configuration, Stream Deck instance, and application context, and runs the main event loop. Run a Stream Deck application with the specified configuration.

This function takes a theme, render configuration, Stream Deck instance, and application context, and runs the main event loop.