Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Acquires a canonical runtime asset by path for an explicit residency lifetime.

API: engine
Project: Inno.Assets

public System.Threading.Tasks.ValueTask<Inno.Assets.AssetLease<TAsset>> Inno.Assets.AssetDatabase.AcquireAsync<TAsset>(Inno.Assets.AssetPath path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) where TAsset : Inno.Assets.AssetObject

Type parameter TAsset: Required runtime asset contract.

Parameter path: Mount-qualified logical asset path.

Parameter cancellationToken: Cancellation observed during preparation and before owner-thread materialization.

A lease completed after verified preparation and owner-thread publication.