export asyncdispatch handles (#15140)
* improve epoll docs * export handles * add comments and changelog
This commit is contained in:
parent
8e3f51f06c
commit
3ce32a7e40
2 changed files with 3 additions and 1 deletions
|
|
@ -143,6 +143,8 @@
|
||||||
`CountTable.inc` takes `val: int` again not `val: Positive`; I.e. it can "count down" again.
|
`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`.
|
- 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
|
## Language changes
|
||||||
- The `=destroy` hook no longer has to reset its target, as the compiler now automatically inserts
|
- The `=destroy` hook no longer has to reset its target, as the compiler now automatically inserts
|
||||||
|
|
|
||||||
|
|
@ -253,7 +253,7 @@ when defined(windows) or defined(nimdoc):
|
||||||
|
|
||||||
PDispatcher* = ref object of PDispatcherBase
|
PDispatcher* = ref object of PDispatcherBase
|
||||||
ioPort: Handle
|
ioPort: Handle
|
||||||
handles: HashSet[AsyncFD]
|
handles*: HashSet[AsyncFD] # Export handles so that an external library can register them.
|
||||||
|
|
||||||
CustomObj = object of OVERLAPPED
|
CustomObj = object of OVERLAPPED
|
||||||
data*: CompletionData
|
data*: CompletionData
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue