Method PreloadAsync
PreloadAsync(CancellationToken)
Everything AcquireAsync(CancellationToken) does except awaiting host startup, so an
IEdgeStartupTask can drive a load without deadlocking on its own completion. Public
on purpose: sub-project 2 documents this exact hole as unclosable from L1 because its
equivalent is internal to another assembly. Sub-project 4's host and its warm-up task
are in the same assembly, so sub-project 4 does not inherit it.
ValueTask PreloadAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancellation.
Returns
- ValueTask
A task that completes once the model is resident.