Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.42 KB

File metadata and controls

46 lines (26 loc) · 1.42 KB
title Use core features to work with Streamlit's execution model
slug /develop/tutorials/execution-flow
description Master Streamlit's execution model with tutorials on fragments, reruns, and execution control for optimal app performance and user experience.
keywords execution flow, fragments, reruns, execution model, st.fragment, performance optimization, execution control, rerun behavior

Use core features to work with Streamlit's execution model

Fragments

Trigger a full-script rerun from inside a fragment

Call st.rerun from inside a fragment to trigger a full-script rerun when a condition is met.

Create a fragment across multiple containers

Use a fragment to write to multiple containers across your app.

Start and stop a streaming fragment

Use a fragment to live-stream data. Use a button to start and stop the live-streaming.

Speed up your app with parallel fragments

Set up fragments with long load times to run concurrently.