pub async fn new_shared_sdk_context(
config: SdkContextConfig,
) -> Result<Arc<SdkContext>, SdkError>Expand description
Constructs an SdkContext from a SdkContextConfig.
The returned Arc is cheap to clone and can back many SDK instances.
SdkContextConfig::new(network) yields an in-memory, single-tenant setup;
supply a DB config to back the SDKs with a shared PostgreSQL or MySQL
pool.