Files
Nim/selectors.idx
github-actions[bot] c7440eccf2 Deploy to GitHub pages
2025-09-27 04:02:34 +00:00

34 lines
3.5 KiB
Plaintext

nimTitle selectors selectors.html module std/selectors 0
nim ioselSupportedPlatform selectors.html#ioselSupportedPlatform const ioselSupportedPlatform 42
nim Selector selectors.html#Selector type Selector 55
nim IOSelectorsException selectors.html#IOSelectorsException object IOSelectorsException 58
nim Event selectors.html#Event enum Event 61
nim ReadyKey selectors.html#ReadyKey object ReadyKey 79
nim SelectEvent selectors.html#SelectEvent object SelectEvent 86
nim newSelector selectors.html#newSelector proc newSelector[T](): Selector[T] 89
nim close selectors.html#close,Selector[T] proc close[T](s: Selector[T]) 92
nim registerHandle selectors.html#registerHandle,Selector[T],,set[Event],T proc registerHandle[T](s: Selector[T]; fd: int | SocketHandle; events: set[Event];\n data: T) 95
nim updateHandle selectors.html#updateHandle,Selector[T],,set[Event] proc updateHandle[T](s: Selector[T]; fd: int | SocketHandle; events: set[Event]) 101
nim registerTimer selectors.html#registerTimer,Selector[T],int,bool,T proc registerTimer[T](s: Selector[T]; timeout: int; oneshot: bool; data: T): int 106
nim registerSignal selectors.html#registerSignal,Selector[T],int,T proc registerSignal[T](s: Selector[T]; signal: int; data: T): int 120
nim registerProcess selectors.html#registerProcess,Selector[T],int,T proc registerProcess[T](s: Selector[T]; pid: int; data: T): int 132
nim registerEvent selectors.html#registerEvent,Selector[T],SelectEvent,T proc registerEvent[T](s: Selector[T]; ev: SelectEvent; data: T) 142
nim registerVnode selectors.html#registerVnode,Selector[T],cint,set[Event],T proc registerVnode[T](s: Selector[T]; fd: cint; events: set[Event]; data: T) 148
nim newSelectEvent selectors.html#newSelectEvent proc newSelectEvent(): SelectEvent 157
nim trigger selectors.html#trigger,SelectEvent proc trigger(ev: SelectEvent) 160
nim close selectors.html#close,SelectEvent proc close(ev: SelectEvent) 163
nim unregister selectors.html#unregister,Selector[T],SelectEvent proc unregister[T](s: Selector[T]; ev: SelectEvent) 166
nim unregister selectors.html#unregister,Selector[T], proc unregister[T](s: Selector[T]; fd: int | SocketHandle | cint) 169
nim selectInto selectors.html#selectInto,Selector[T],int,openArray[ReadyKey] proc selectInto[T](s: Selector[T]; timeout: int; results: var openArray[ReadyKey]): int 172
nim select selectors.html#select,Selector[T],int proc select[T](s: Selector[T]; timeout: int): seq[ReadyKey] 183
nim getData selectors.html#getData,Selector[T], proc getData[T](s: Selector[T]; fd: SocketHandle | int): var T 192
nim setData selectors.html#setData,Selector[T],,T proc setData[T](s: Selector[T]; fd: SocketHandle | int; data: var T): bool 197
nim isEmpty selectors.html#isEmpty.t,Selector[T] template isEmpty[T](s: Selector[T]): bool 202
nim withData selectors.html#withData.t,Selector[T],,untyped,untyped template withData[T](s: Selector[T]; fd: SocketHandle | int; value, body: untyped) 206
nim withData selectors.html#withData.t,Selector[T],,untyped,untyped,untyped template withData[T](s: Selector[T]; fd: SocketHandle | int; value, body1, body2: untyped) 218
nim contains selectors.html#contains,Selector[T], proc contains[T](s: Selector[T]; fd: SocketHandle | int): bool 233
nim getFd selectors.html#getFd,Selector[T] proc getFd[T](s: Selector[T]): int 236
nimgrp close selectors.html#close-procs-all proc 92
nimgrp unregister selectors.html#unregister-procs-all proc 166
nimgrp withdata selectors.html#withData-templates-all template 206