Owen Lin
21f7032dbb
feat(app-server): thread/unsubscribe API ( #10954 )
...
Adds a new v2 app-server API for a client to be able to unsubscribe to a
thread:
- New RPC method: `thread/unsubscribe`
- New server notification: `thread/closed`
Today clients can start/resume/archive threads, but there wasn’t a way
to explicitly unload a live thread from memory without archiving it.
With `thread/unsubscribe`, a client can indicate it is no longer
actively working with a live Thread. If this is the only client
subscribed to that given thread, the thread will be automatically closed
by app-server, at which point the server will send `thread/closed` and
`thread/status/changed` with `status: notLoaded` notifications.
This gives clients a way to prevent long-running app-server processes
from accumulating too many thread (and related) objects in memory.
Closed threads will also be removed from `thread/loaded/list`.
2026-02-25 13:14:30 -08:00
..
2026-02-01 23:38:43 -08:00
2026-02-10 20:09:31 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-17 11:45:04 -08:00
2026-02-09 23:10:26 -08:00
2026-02-17 11:45:04 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-11 18:31:14 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-20 12:05:21 -08:00
2026-02-20 10:56:57 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-11 17:16:27 -08:00
2026-02-05 20:04:01 +00:00
2026-02-05 23:31:04 +00:00
2026-02-25 02:11:51 -08:00
2026-02-25 02:11:51 -08:00
2026-02-25 02:11:51 -08:00
2026-02-25 02:11:51 -08:00
2026-02-20 22:26:14 +00:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-10 20:09:31 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 12:00:10 -08:00
2026-02-25 12:00:10 -08:00
2026-02-01 23:38:43 -08:00
2026-02-02 17:41:55 -08:00
2026-02-09 20:48:58 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-13 16:26:32 -08:00
2026-02-13 16:26:32 -08:00
2026-02-17 11:02:23 -08:00
2026-02-01 23:38:43 -08:00
2026-02-07 02:39:52 +00:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 12:00:10 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-09 13:30:38 -08:00
2026-02-01 23:38:43 -08:00
2026-02-17 14:53:58 -08:00
2026-02-03 14:09:37 -08:00
2026-02-17 11:05:22 -08:00
2026-02-17 14:53:58 -08:00
2026-02-01 23:38:43 -08:00
2026-02-17 14:53:58 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 13:14:30 -08:00
2026-02-03 18:15:55 -08:00
2026-02-03 18:15:55 -08:00
2026-02-19 11:41:49 -08:00
2026-02-25 12:00:10 -08:00
2026-02-25 09:59:41 +00:00
2026-02-25 12:00:10 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 12:00:10 -08:00
2026-02-25 09:59:10 -08:00
2026-02-25 09:59:10 -08:00
2026-02-25 09:59:10 -08:00
2026-02-25 09:59:10 -08:00
2026-02-25 09:59:10 -08:00
2026-02-19 11:41:49 -08:00
2026-02-25 12:00:10 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 12:00:10 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 12:00:10 -08:00
2026-02-25 09:51:42 +00:00
2026-02-25 12:00:10 -08:00
2026-02-18 15:20:03 -08:00
2026-02-01 23:38:43 -08:00
2026-02-17 14:53:58 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 12:00:10 -08:00
2026-02-25 13:14:30 -08:00
2026-02-25 13:14:30 -08:00
2026-02-25 12:00:10 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 12:00:10 -08:00
2026-02-19 11:41:49 -08:00
2026-02-25 12:00:10 -08:00
2026-02-06 00:35:04 +00:00
2026-02-06 00:35:04 +00:00
2026-02-18 13:03:16 -08:00
2026-02-18 13:03:16 -08:00
2026-02-18 13:03:16 -08:00
2026-02-01 23:38:43 -08:00