list_folder_longpoll

Function list_folder_longpoll 

Source
pub fn list_folder_longpoll<'a>(
    client: &'a impl NoauthClient,
    arg: &'a ListFolderLongpollArg,
) -> impl Future<Output = Result<ListFolderLongpollResult, Error<ListFolderLongpollError>>> + Send + 'a
Available on crate features async_routes and dbx_files only.
Expand description

A longpoll endpoint to wait for changes on an account. In conjunction with list_folder_continue(), this call gives you a low-latency way to monitor an account for file changes. The connection will block until there are changes available or a timeout occurs. This endpoint is useful mostly for client-side apps. If you’re looking for server-side notifications, check out our webhooks documentation.