mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
export asyncdispatch handles (#15140)
* improve epoll docs * export handles * add comments and changelog
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user