mod error;
mod introspection;
mod listener;
pub use error::SchemaCacheError;
pub use listener::start_schema_listener;
pub use pg_schema_cache_types::*;
use resolute::Executor;
pub async fn build_schema_cache(
db: &impl Executor,
schemas: &[String],
) -> Result<SchemaCache, SchemaCacheError> {
introspection::build(db, schemas).await
}