pub trait QueryProvider: Send + Sync {
// Required method
fn get_query_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Query>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Reaction traits for implementing reaction plugins Trait for providing access to queries without requiring full DrasiLib dependency.
This trait provides a way for reactions to access query instances for subscription without needing a direct dependency on the server core.