Skip to content

Commit 3d59fe0

Browse files
committed
Add config setting
1 parent 050c44d commit 3d59fe0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/config.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
*/
2525
'registerScript' => true,
2626

27+
/**
28+
* Whether the session should be closed when the event stream begins.
29+
* This is useful to allow other requests to be processed while the event stream is being sent.
30+
*/
31+
'shouldCloseSession' => false,
32+
2733
/**
2834
* The name of the signals variable that will be injected into Datastar templates.
2935
*/

0 commit comments

Comments
 (0)