Expand description
Abstraction traits that decouple vector-core from any specific UI framework.
Tauri, CLI, SDK, or any other frontend implements these traits to integrate
with vector-core. The core library never imports tauri directly.
Structs§
- NoOp
Emitter - A no-op emitter for headless/test contexts.
- NoOp
Progress Reporter - A no-op progress reporter.
- NoOp
Subscription Refresher
Traits§
- Event
Emitter - Emits events to the UI layer (Tauri frontend, CLI output, SDK callbacks).
- Progress
Reporter - Trait for reporting download/upload progress.
- Subscription
Refresher - Refreshes the integration layer’s live channel subscription set.
Functions§
- emit_
event - Emit an event to the UI layer. No-op if no emitter is registered.
- emit_
event_ json - Emit a raw JSON value event to the UI layer.
- has_
event_ emitter - Check if an event emitter is registered.
- refresh_
subscriptions - set_
event_ emitter - Register the global event emitter. Call once during app startup.
- set_
subscription_ refresher