Skip to content

Type Alias: ContainerdProgressCallback ​

说明

本页由源码中的注释生成,内容为英文。

ContainerdProgressCallback = (progress) => void

Receive the progress of a pull (ImagePullOptions.progressCallback) or a push (ImagePushOptions.progressCallback). A pull calls it as each blob's bytes arrive, and once with current equal to total for a blob the content store has already; a push calls it once per blob, after its upload, with current equal to total.

Parameters ​

progress ​

ContainerdProgress

Returns ​

void

Released under the MIT License.