Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Pins publisher activity until publication, reading handoff and current-root updates finish.

API: engine
Project: Inno.Build.Toolchains

public System.Threading.Tasks.ValueTask<Inno.Core.IO.FileLease> Inno.Build.Toolchains.BuildCachePublisher.AcquireUseAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter cancellationToken: Cancels this wait without disturbing other owners.

Caller-owned shared activity; dispose after the final artifact reading lease is acquired.

Exception T:System.OperationCanceledException: Acquisition was canceled.