Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

xtremebytes's avatar
xtremebytes
Explorer | Level 3
7 years ago
Solved

Cancelling ListFolderLongpollAsync

Hi,   I have a Dropbox longpoll running as a task, implemented in C# (Xamarin Forms) as the following.   async Task DropboxLongpoll (string cursor, CancellationToken token) { var longpol...
  • Greg-DB's avatar
    Greg-DB
    7 years ago
    It's not possible to cancel an ongoing request instantly unfortunately, but the long poll request will eventually close or time out on its own. I'll pass this along as a feature request for actual CancellationToken support in the SDK though.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!