subscribe method
Server-streaming: emits a DownloadProgress message every time bytes_downloaded crosses a per-engine reporting threshold (currently every 64 KiB) until state ∈ {COMPLETED, FAILED, CANCELLED}.
Implementation
$async.Future<DownloadProgress> subscribe(
$pb.ClientContext? ctx, DownloadSubscribeRequest request) =>
_client.invoke<DownloadProgress>(
ctx, 'Download', 'Subscribe', request, DownloadProgress());