Comments (1)
Hi, not possible right now, state mutations are all processed at the end of the call. But the next release (in about 2 weeks) periodically checks state during long-running calls. There'll also be a "loading" type of message with prefix "%".
I'll also fix File Input to clearly show that a file is being uploaded. Right now the only indication of activity is the subtle green bar at the top.
def handle_start_process(state):
import time
for i in range(10):
state["short_text"] = "% Loading..." + str(i*10) + "%"
time.sleep(0.5)
state["short_text"] = "+Completed"
from streamsync.
Related Issues (20)
- Empty pagination list starts with wrong count
- import for State, for using State Schema, is missing in streamsync highlevel import
- "Dropdown Input" improvement
- Multi choice dropdopw choices in a section does not show all options and is cutoff HOT 2
- Not all components follow the Horizontal stack edict HOT 1
- Repeater context returns a wrong value
- exclude generated files as storybook and app_templates from repository
- Horizontal stack missing align-items setting HOT 1
- initial position of Switch Input doesn't match bound value (if True) HOT 1
- Feature Request: Modal Window component
- Custom Components not loading with .cjs extension HOT 2
- Feature request: Add search and keyboard shortcuts to toolkit
- It is possible to modify the state from js script?
- Question: How to clear the chat bot window? HOT 2
- Question: How do I pick up the URL variables at the start of the app? HOT 2
- Workaround for editable Dataframe
- Reuse component inside Repeater
- How to Package a StreamSync App into an Executable Using PyInstaller?
- Dropdown bug. can't select Bug HOT 3
- Dark mode for editor and app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamsync.