Commands: CleanUpAsync
CleanUpAsync forces to run a background task that will clean up files marked as deleted. Read Background tasks article for details.
Syntax
Task CleanUpAsync();
Return Value | |
---|---|
Task | A task that represents the asynchronous operation |
Example
await store.AsyncFilesCommands.Storage
.CleanUpAsync();