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 4e1ed0d commit e276775Copy full SHA for e276775
examples/app-router/app/api/sse/route.ts
@@ -1,6 +1,11 @@
1
-import { wait } from "@open-next/utils";
2
import type { NextRequest } from "next/server";
3
+function wait(ms: number) {
4
+ return new Promise((resolve) => {
5
+ setTimeout(resolve, ms);
6
+ });
7
+}
8
+
9
export const dynamic = "force-dynamic";
10
11
export async function GET(request: NextRequest) {
0 commit comments