Method RemoveAsync
RemoveAsync(string, CancellationToken)
Deletes the model directory and its CoreML cache subtree.
ValueTask RemoveAsync(string modelId, CancellationToken cancellationToken = default)
Parameters
modelIdstringThe model id.
cancellationTokenCancellationTokenCancellation.
Returns
- ValueTask
A task that completes once both trees are gone.