You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fungetDir(path:String) {
var result = client.files().listFolderBuilder(path)
.withLimit(500)
.withIncludeDeleted(true)
.withRecursive(false)
.start()
while (true) {
if (!result.hasMore) {
startLongPoll(result.cursor)
break
}
result = client.files().listFolderContinue(cursor)
}
}
funstartLongPoll(cursor:String) {
client.files().listFolderLongpoll(cursor, 30).changes // returns true if any changes in account, not in path specified with listFolderBuilder(path)
}
The text was updated successfully, but these errors were encountered:
Thanks for the report. This is a known issue with the longpoll functionality. This is open with the team, but I don't have a timeline for a resolution. I'll follow up here with any news.
The text was updated successfully, but these errors were encountered: