Skip to main content

Commands: CleanUpAsync

Syntax

#Commands: CleanUpAsync

CleanUpAsync forces to run a background task that will clean up files marked as deleted. Read Background tasks article for details.

Task CleanUpAsync();
Return Value
TaskA task that represents the asynchronous operation

Example

await store.AsyncFilesCommands.Storage
.CleanUpAsync();