You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/concepts/lifecycle.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import { Callout } from '@/components/react';
8
8
9
9
This page is about what happens to a Sprite after you create it. Where it lives, how it sleeps, when it wakes up, and what it remembers.
10
10
11
-
We'll cover how Sprites hibernate when idle, what counts as “activity,” what persists across wakeups, and how storage behaves under the hood.
11
+
We'll cover how Sprites hibernate when idle, what counts as “activity,” what persists on resume, and how storage behaves under the hood.
12
12
13
13
## The Sprite Lifecycle
14
14
@@ -18,7 +18,7 @@ This model keeps things lean. Sprites pause when you're not using them, so you d
18
18
19
19
The platform handles this automatically by tracking usage. If nothing interacts with a Sprite for long enough, it goes to sleep. If something hits it again, it spins back up and picks up where it left off.
20
20
21
-
You don't have to manage any of this directly. But it helps to know what's going on, especially if you're optimizing for latency or trying to debug weird behavior after a resume.
21
+
You don't have to manage any of this directly. But it helps to know what's going on, especially if you're optimizing for latency or trying to debug weird behavior on resume.
22
22
23
23
## Automatic Hibernation
24
24
@@ -107,7 +107,7 @@ These states are not currently exposed in CLI/SDK responses.
107
107
108
108
## Services
109
109
110
-
## 8) Detached Sessions
110
+
## Detached Sessions
111
111
112
112
Detached sessions let you run long-lived processes inside a Sprite without keeping a connection open. Think of it like starting a background job and coming back later to check on it.
113
113
@@ -116,7 +116,7 @@ Sessions persist across CLI disconnects and can survive hibernation. If the Spri
116
116
If you're looking to run a persistent service that automatically starts on wake, see [Services](/concepts/services) for complete documentation.
117
117
118
118
119
-
## 9) Best Practices
119
+
## Best Practices
120
120
121
121
You don't need to micromanage Sprite lifecycle — it mostly just works. But a few habits can make things smoother:
0 commit comments