context-id
Typed context identifiers for persisting non-serializable values across evalInObsidian calls.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| ContextId | A typed context identifier for persisting non-serializable values across evalInObsidian calls. The context is a persistent object stored on window in the Obsidian process. All calls sharing the same ContextId share the same context object, allowing non-serializable values (e.g. TFile, Editor) to survive across calls. Implements AsyncDisposable for use with await using. |