Python asyncio模块,常用函数和类
下面列出了Python asyncio 模块中定义的常用函数和类,我们从1170个开源Python项目中,按照使用频率进行了排序。
函数和类 | 使用项目数 |
---|---|
1. get_event_loop() | 用在(887)个项目中 |
2. sleep() | 用在(615)个项目中 |
3. coroutine() | 用在(340)个项目中 |
4. ensure_future() | 用在(327)个项目中 |
5. set_event_loop() | 用在(242)个项目中 |
6. gather() | 用在(236)个项目中 |
7. wait() | 用在(220)个项目中 |
8. new_event_loop() | 用在(213)个项目中 |
9. TimeoutError() | 用在(191)个项目中 |
10. Future() | 用在(184)个项目中 |
11. Queue() | 用在(151)个项目中 |
12. CancelledError() | 用在(149)个项目中 |
13. wait_for() | 用在(149)个项目中 |
14. iscoroutinefunction() | 用在(119)个项目中 |
15. Protocol() | 用在(99)个项目中 |
16. Event() | 用在(93)个项目中 |
17. set_event_loop_policy() | 用在(88)个项目中 |
18. Task() | 用在(84)个项目中 |
19. async() | 用在(81)个项目中 |
20. Lock() | 用在(79)个项目中 |
21. open_connection() | 用在(73)个项目中 |
22. iscoroutine() | 用在(67)个项目中 |
23. FIRST_COMPLETED | 用在(58)个项目中 |
24. AbstractEventLoop() | 用在(56)个项目中 |
25. start_server() | 用在(45)个项目中 |
26. create_subprocess_exec() | 用在(44)个项目中 |
27. StreamReader() | 用在(44)个项目中 |
28. Semaphore() | 用在(43)个项目中 |
29. run_coroutine_threadsafe() | 用在(36)个项目中 |
30. BaseEventLoop() | 用在(28)个项目中 |
31. ProactorEventLoop() | 用在(27)个项目中 |
32. shield() | 用在(26)个项目中 |
33. SelectorEventLoop() | 用在(25)个项目中 |
34. as_completed() | 用在(25)个项目中 |
35. StreamReaderProtocol() | 用在(23)个项目中 |
36. create_subprocess_shell() | 用在(21)个项目中 |
37. Transport() | 用在(21)个项目中 |
38. Condition() | 用在(21)个项目中 |
39. DatagramProtocol() | 用在(20)个项目中 |
40. get_event_loop_policy() | 用在(20)个项目中 |
41. IncompleteReadError() | 用在(18)个项目中 |
42. PriorityQueue() | 用在(18)个项目中 |
43. subprocess() | 用在(17)个项目中 |
44. StreamWriter() | 用在(17)个项目中 |
45. open_unix_connection() | 用在(16)个项目中 |
46. streams() | 用在(13)个项目中 |
47. QueueEmpty() | 用在(12)个项目中 |
48. call_at() | 用在(11)个项目中 |
49. start_unix_server() | 用在(11)个项目中 |
50. futures() | 用在(10)个项目中 |
51. EventLoop() | 用在(10)个项目中 |
52. BoundedSemaphore() | 用在(8)个项目中 |
53. InvalidStateError() | 用在(8)个项目中 |
54. Handle() | 用在(8)个项目中 |
55. DatagramTransport() | 用在(7)个项目中 |
56. QueueFull() | 用在(7)个项目中 |
57. wrap_future() | 用在(6)个项目中 |
58. LifoQueue() | 用在(6)个项目中 |
59. test_utils() | 用在(5)个项目中 |
60. SubprocessProtocol() | 用在(5)个项目中 |
61. Server() | 用在(5)个项目中 |
62. SafeChildWatcher() | 用在(5)个项目中 |
63. DefaultEventLoopPolicy() | 用在(5)个项目中 |
64. set_child_watcher() | 用在(5)个项目中 |
65. coroutines() | 用在(5)个项目中 |