Return type of asyncftpclient to fix example. (#15476)
Related to: #13641
This commit is contained in:
parent
dcd0ce1775
commit
662c508075
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue