How can I cancel Task<>
from async
methods in Dropbox C# SDK?
I don't see how I can set CancellationToken
for them. I thought there is something like it in API methods:
public Task<Metadata> GetMetadataAsync(
string path,
bool includeMediaInfo = false,
bool includeDeleted = false,
bool includeHasExplicitSharedMembers = false,
CancellationToken ct = null /*This is would be optional cancellation token. But this parameter doesn't exist in API*/
);
But can't find it. It would be good approach for cancel asynchronous operation.