Return type of asyncftpclient to fix example. (#15476)

Related to: #13641
This commit is contained in:
supakeen 2020-10-03 13:43:43 +02:00 • committed by GitHub
commit 662c508075
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@
## import asyncdispatch, asyncftpclient ## import asyncdispatch, asyncftpclient
## ##
## proc onProgressChanged(total, progress: BiggestInt, ## proc onProgressChanged(total, progress: BiggestInt,
## speed: float): Future[void] = ## speed: float) {.async.} =
## echo("Uploaded ", progress, " of ", total, " bytes") ## echo("Uploaded ", progress, " of ", total, " bytes")
## echo("Current speed: ", speed, " kb/s") ## echo("Current speed: ", speed, " kb/s")
## ##