📝 refine async snapshot docs

This commit is contained in:
Nanaloveyuki
2026-06-14 01:59:27 +08:00
parent e13ea2209a
commit 91b0900b11
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ Detailed rules explaining key parameters and behaviors
- In the current backend implementations, the resulting pair is `NativeWorker + true` or `Compatibility + false`.
- `async_runtime_state_to_json(...)` and `stringify_async_runtime_state(...)` serialize this state.
- This API is environment-scoped and does not depend on a particular `AsyncLogger` instance.
- The returned value is a snapshot data object, not a live runtime handle, so later backend checks require calling `async_runtime_state()` again rather than reusing an older value as if it refreshed itself.
### How to Use