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 30fe0af commit 2235325Copy full SHA for 2235325
README.md
@@ -85,6 +85,10 @@ headers of the SSE response yourself.
85
86
A datastar response consists of 0..N datastar events. There are response
87
classes included to make this easy in all of the supported frameworks.
88
+Each framework also exposes a `@datastar_response` decorator that will wrap
89
+return values (including generators) into the right response class while
90
+preserving sync handlers as sync so frameworks can keep them in their
91
+threadpools.
92
93
The following examples will work across all supported frameworks when the
94
response class is imported from the appropriate framework package.
0 commit comments