export asyncdispatch handles (#15140)

* improve epoll docs

* export handles

* add comments and changelog
This commit is contained in:
flywind 2020-08-02 03:27:21 +08:00 • committed by GitHub
commit 3ce32a7e40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -143,6 +143,8 @@
`CountTable.inc` takes `val: int` again not `val: Positive`; I.e. it can "count down" again.
- Removed deprecated symbols from `macros` module, deprecated as far back as `0.15`.
- Export `asyncdispatch.PDispatcher.handles` so that an external library can register them.
## Language changes
- The `=destroy` hook no longer has to reset its target, as the compiler now automatically inserts

View file

@ -253,7 +253,7 @@ when defined(windows) or defined(nimdoc):
PDispatcher* = ref object of PDispatcherBase
ioPort: Handle
handles: HashSet[AsyncFD]
handles*: HashSet[AsyncFD] # Export handles so that an external library can register them.
CustomObj = object of OVERLAPPED
data*: CompletionData