Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Checked adapter calls, store-qualified results, and scoped continuations.

Modules§

cursor ðŸ”’
Cursor envelopes bind provider positions to a store and an unchanged request.

Structs§

Discovery
Validates discovery requests and attaches store identity to results. Constructing a dispatcher performs no I/O and does not enumerate the store. Search and enumeration are synchronous and may block on the adapter’s I/O. Cursor envelopes detect accidental reuse; they do not authenticate input.
StoreId
Stable identity assigned by the store registry, independent of its display name. IDs must be unique and persist across restarts and enable/disable operations. A replacement store with a different source namespace needs a new ID so saved locators and cursors cannot silently resolve against another source.
StoredCandidate
Candidate with the store needed to resolve its provider-defined reference.
ValidatedPage
Enumeration request checked by Discovery, with a provider-native cursor. The adapter must still reject invalid or expired native positions.
ValidatedSearch
Search request checked by Discovery, with a provider-native cursor. Validation covers the advertised schema, not the native cursor’s contents or whether returned candidates satisfy the filters. The adapter checks those.