We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf36d18 commit 7c82077Copy full SHA for 7c82077
tests/playwright/shiny/components/MarkdownStream/basic/app.py
@@ -1,5 +1,6 @@
1
from pathlib import Path
2
3
+from shiny import reactive
4
from shiny.express import ui
5
6
# Read in the py-shiny README.md file
@@ -24,8 +25,10 @@ def readme_generator_err():
24
25
raise RuntimeError("boom!")
26
27
-stream.stream(readme_generator())
28
-stream2.stream(readme_generator_err())
+@reactive.effect
29
+async def _():
30
+ await stream.stream(readme_generator())
31
+ await stream2.stream(readme_generator_err())
32
33
34
with ui.card(
0 commit comments