mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 10:22:15 +00:00
Fix asyncdispatch docgen
This commit is contained in:
committed by
Dominik Picheta
parent
4cc8c15064
commit
94fe5bd118
@@ -281,7 +281,7 @@ when defined(windows) or defined(nimdoc):
|
||||
if createIoCompletionPort(fd.Handle, p.ioPort,
|
||||
cast[CompletionKey](fd), 1) == 0:
|
||||
raiseOSError(osLastError())
|
||||
p.handles.incl(fd)
|
||||
p.handles.incl(fd.AsyncFD)
|
||||
return fd.AsyncFD
|
||||
|
||||
proc verifyPresence(fd: AsyncFD) =
|
||||
@@ -1638,4 +1638,4 @@ proc waitFor*[T](fut: Future[T]): T =
|
||||
|
||||
fut.read
|
||||
|
||||
{.deprecated: [setEvent: trigger].}
|
||||
{.deprecated: [setEvent: trigger].}
|
||||
|
||||
Reference in New Issue
Block a user