FileProgressCallback

typealias FileProgressCallback = (<Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>?) -> Unit

When doing file operations that may take a while, such as moving a file or copying a file, a progress callback is used to pass how far along that operation is to the application.

  • param currentNumBytes the current number of bytes in the operation.

  • param totalNumBytes the total number of bytes in the operation.

  • param data user data passed to the callback.