Fixed 'milliseconds' spelling in code and docs
This commit is contained in:
parent
1c0bbcff5a
commit
cb6f867495
8 changed files with 38 additions and 33 deletions
|
|
@ -1154,7 +1154,7 @@ else:
|
|||
|
||||
proc sleepAsync*(ms: int): Future[void] =
|
||||
## Suspends the execution of the current async procedure for the next
|
||||
## ``ms`` miliseconds.
|
||||
## ``ms`` milliseconds.
|
||||
var retFuture = newFuture[void]("sleepAsync")
|
||||
let p = getGlobalDispatcher()
|
||||
p.timers.add((epochTime() + (ms / 1000), retFuture))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue