# Supabase — Supabase Edge Functions: Introducing Background Tasks, Ephemeral Storage, and WebSockets

- Company: Supabase (supabase.com)
- Announced: 2024-12-03
- Category: capability-change
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://supabase.com/blog/edge-functions-background-tasks-websockets
- Record: https://forck.live/items/21388-supabase-edge-functions-introducing-background-tasks-ephemeral-storage-and
- Subject: Supabase
- Pricing: Free projects can run background tasks for a maximum of 150 seconds (2m 30s). If you are on a paid plan, this limit increases to 400 seconds (6m 40s).

Supabase added three new capabilities to Edge Functions: background tasks via EdgeRuntime.waitUntil, ephemeral file storage in /tmp, and support for inbound and outbound WebSocket connections. Background task time limits are 150 seconds for free projects and 400 seconds for paid plans.

## Evidence

Verbatim from https://supabase.com/blog/edge-functions-background-tasks-websockets:

> We've introduced a new method called EdgeRuntime.waitUntil , which accepts a promise. This ensures that the function isn't terminated until the promise is resolved.

---

Record: https://forck.live/items/21388-supabase-edge-functions-introducing-background-tasks-ephemeral-storage-and
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
