Utility function to attach events and get a callback to unregister those.
You may not call unregister
in the same tick as register
is invoked.
Promise that resolves after the uploading step, once the server answers back.
Rejects on network error. Rejects if status is not OK (200). Rejects if cancelled.
Promise that resolves once the uploading is finished.
Rejects on network error. Rejects if status is not OK (200). Rejects if cancelled.
Read all entries within a folder by block of 100 files or folders until the whole folder has been read.