asyncdispatch.idx 6.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. nimTitle asyncdispatch asyncdispatch.html module std/asyncdispatch 0
  2. nim callSoon asyncdispatch.html#callSoon,proc) proc callSoon(cbproc: proc () {.gcsafe.}) 286
  3. nim CompletionData asyncdispatch.html#CompletionData object CompletionData 309
  4. nim PDispatcher asyncdispatch.html#PDispatcher type PDispatcher 317
  5. nim CustomRef asyncdispatch.html#CustomRef type CustomRef 324
  6. nim AsyncFD asyncdispatch.html#AsyncFD type AsyncFD 326
  7. nim AsyncEvent asyncdispatch.html#AsyncEvent type AsyncEvent 339
  8. nim Callback asyncdispatch.html#Callback type Callback 341
  9. nim `==` asyncdispatch.html#==,AsyncFD,AsyncFD proc `==`(x: AsyncFD; y: AsyncFD): bool 344
  10. nim newDispatcher asyncdispatch.html#newDispatcher proc newDispatcher(): owned PDispatcher 346
  11. nim setGlobalDispatcher asyncdispatch.html#setGlobalDispatcher,sinkPDispatcher proc setGlobalDispatcher(disp: sink PDispatcher) 356
  12. nim getGlobalDispatcher asyncdispatch.html#getGlobalDispatcher proc getGlobalDispatcher(): PDispatcher 362
  13. nim getIoHandler asyncdispatch.html#getIoHandler,PDispatcher proc getIoHandler(disp: PDispatcher): Handle 367
  14. nim register asyncdispatch.html#register,AsyncFD proc register(fd: AsyncFD) 372
  15. nim hasPendingOperations asyncdispatch.html#hasPendingOperations proc hasPendingOperations(): bool 390
  16. nim newCustom asyncdispatch.html#newCustom proc newCustom(): CustomRef 487
  17. nim recv asyncdispatch.html#recv,AsyncFD,int proc recv(socket: AsyncFD; size: int; flags = {SafeDisconn}): owned(Future[string]) 494
  18. nim recvInto asyncdispatch.html#recvInto,AsyncFD,pointer,int proc recvInto(socket: AsyncFD; buf: pointer; size: int; flags = {SafeDisconn}): owned(\n Future[int]) 567
  19. nim send asyncdispatch.html#send,AsyncFD,pointer,int proc send(socket: AsyncFD; buf: pointer; size: int; flags = {SafeDisconn}): owned(\n Future[void]) 633
  20. nim sendTo asyncdispatch.html#sendTo,AsyncFD,pointer,int,ptr.SockAddr,SockLen proc sendTo(socket: AsyncFD; data: pointer; size: int; saddr: ptr SockAddr;\n saddrLen: SockLen; flags = {SafeDisconn}): owned(Future[void]) 678
  21. nim recvFromInto asyncdispatch.html#recvFromInto,AsyncFD,pointer,int,ptr.SockAddr,ptr.SockLen proc recvFromInto(socket: AsyncFD; data: pointer; size: int; saddr: ptr SockAddr;\n saddrLen: ptr SockLen; flags = {SafeDisconn}): owned(Future[int]) 723
  22. nim acceptAddr asyncdispatch.html#acceptAddr,AsyncFD proc acceptAddr(socket: AsyncFD; flags = {SafeDisconn};\n inheritable = defined(nimInheritHandles)): owned(\n Future[tuple[address: string, client: AsyncFD]]) 771
  23. nim setInheritable asyncdispatch.html#setInheritable,AsyncFD,bool proc setInheritable(fd: AsyncFD; inheritable: bool): bool 868
  24. nim closeSocket asyncdispatch.html#closeSocket,AsyncFD proc closeSocket(socket: AsyncFD) 870
  25. nim unregister asyncdispatch.html#unregister,AsyncFD proc unregister(fd: AsyncFD) 875
  26. nim contains asyncdispatch.html#contains,PDispatcher,AsyncFD proc contains(disp: PDispatcher; fd: AsyncFD): bool 879
  27. nim addRead asyncdispatch.html#addRead,AsyncFD,Callback proc addRead(fd: AsyncFD; cb: Callback) 974
  28. nim addWrite asyncdispatch.html#addWrite,AsyncFD,Callback proc addWrite(fd: AsyncFD; cb: Callback) 992
  29. nim addTimer asyncdispatch.html#addTimer,int,bool,Callback proc addTimer(timeout: int; oneshot: bool; cb: Callback) 1045
  30. nim addProcess asyncdispatch.html#addProcess,int,Callback proc addProcess(pid: int; cb: Callback) 1079
  31. nim newAsyncEvent asyncdispatch.html#newAsyncEvent proc newAsyncEvent(): AsyncEvent 1098
  32. nim trigger asyncdispatch.html#trigger,AsyncEvent proc trigger(ev: AsyncEvent) 1113
  33. nim unregister asyncdispatch.html#unregister,AsyncEvent proc unregister(ev: AsyncEvent) 1118
  34. nim close asyncdispatch.html#close,AsyncEvent proc close(ev: AsyncEvent) 1129
  35. nim addEvent asyncdispatch.html#addEvent,AsyncEvent,Callback proc addEvent(ev: AsyncEvent; cb: Callback) 1136
  36. nim drain asyncdispatch.html#drain,int proc drain(timeout = 500) 1696
  37. nim poll asyncdispatch.html#poll,int proc poll(timeout = 500) 1708
  38. nim createAsyncNativeSocket asyncdispatch.html#createAsyncNativeSocket,cint,cint,cint proc createAsyncNativeSocket(domain: cint; sockType: cint; protocol: cint;\n inheritable = defined(nimInheritHandles)): AsyncFD 1725
  39. nim createAsyncNativeSocket asyncdispatch.html#createAsyncNativeSocket,Domain,SockType,Protocol proc createAsyncNativeSocket(domain: Domain = Domain.AF_INET;\n sockType: SockType = SOCK_STREAM;\n protocol: Protocol = IPPROTO_TCP;\n inheritable = defined(nimInheritHandles)): AsyncFD 1730
  40. nim dial asyncdispatch.html#dial,string,Port,Protocol proc dial(address: string; port: Port; protocol: Protocol = IPPROTO_TCP): owned(\n Future[AsyncFD]) 1890
  41. nim connect asyncdispatch.html#connect,AsyncFD,string,Port proc connect(socket: AsyncFD; address: string; port: Port; domain = Domain.AF_INET): owned(\n Future[void]) 1905
  42. nim sleepAsync asyncdispatch.html#sleepAsync proc sleepAsync(ms: int | float): owned(Future[void]) 1920
  43. nim withTimeout asyncdispatch.html#withTimeout,Future[T],int proc withTimeout[T](fut: Future[T]; timeout: int): owned(Future[bool]) 1932
  44. nim accept asyncdispatch.html#accept,AsyncFD proc accept(socket: AsyncFD; flags = {SafeDisconn};\n inheritable = defined(nimInheritHandles)): owned(Future[AsyncFD]) 1954
  45. nim send asyncdispatch.html#send,AsyncFD,string proc send(socket: AsyncFD; data: string; flags = {SafeDisconn}): owned(Future[void]) 1978
  46. nim readAll asyncdispatch.html#readAll,FutureStream[string] proc readAll(future: FutureStream[string]): owned(Future[string]) 2001
  47. nim runForever asyncdispatch.html#runForever proc runForever() 2015
  48. nim waitFor asyncdispatch.html#waitFor,Future[T] proc waitFor[T](fut: Future[T]): T 2020
  49. nim activeDescriptors asyncdispatch.html#activeDescriptors proc activeDescriptors(): int 2027
  50. nim maxDescriptors asyncdispatch.html#maxDescriptors proc maxDescriptors(): int 2040
  51. heading Asynchronous procedures asyncdispatch.html#asynchronous-procedures Asynchronous procedures 0
  52. heading Handling Exceptions asyncdispatch.html#asynchronous-procedures-handling-exceptions Handling Exceptions 0
  53. heading Discarding futures asyncdispatch.html#discarding-futures Discarding futures 0
  54. heading Handling futures asyncdispatch.html#handling-futures Handling futures 0
  55. heading Examples asyncdispatch.html#examples Examples 0
  56. heading Investigating pending futures asyncdispatch.html#investigating-pending-futures Investigating pending futures 0
  57. heading Limitations/Bugs asyncdispatch.html#limitationsslashbugs Limitations/Bugs 0
  58. heading Multiple async backend support asyncdispatch.html#multiple-async-backend-support Multiple async backend support 0
  59. idx epoll asyncdispatch.html#epoll_1 Multiple async backend support 0
  60. idx kqueue asyncdispatch.html#kqueue_1 Multiple async backend support 0
  61. nimgrp createasyncnativesocket asyncdispatch.html#createAsyncNativeSocket-procs-all proc 1725
  62. nimgrp send asyncdispatch.html#send-procs-all proc 633
  63. nimgrp unregister asyncdispatch.html#unregister-procs-all proc 875