Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/runtime-sdk/src/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import js

from workers import Context, Request, wait_until
from workers import Context, Request

ASGI = {"spec_version": "2.0", "version": "3.0"}
logger = logging.getLogger("asgi")
Expand Down Expand Up @@ -221,6 +221,9 @@ async def run_app():

# Create task to run the application in the background
app_task = create_proxy(create_task(run_app()))

from workers import wait_until

wait_until(app_task)

try:
Expand Down
Loading