📝 clarify runtime file export examples

This commit is contained in:
Nanaloveyuki
2026-06-13 23:44:05 +08:00
parent 61094732a8
commit ce3eb06c1c
4 changed files with 18 additions and 8 deletions
+2 -2
View File
@@ -56,10 +56,10 @@ In this example, callers receive a structured file-state snapshot instead of pla
When support tooling should ingest file sink state programmatically:
```moonbit
let snapshot = file_sink_state_to_json(state)
let snapshot = file_sink_state_to_json(runtime.file_state())
```
In this example, the helper exposes all major file-state fields in machine-readable form.
In this example, the helper exposes all major live file-state fields in machine-readable form.
### Error Case