FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gpu.cpp/python/gpu_cpp/_async.py at main · AnswerDotAI/gpu.cpp · GitHub
AnswerDotAI
/
gpu.cpp
Public
Notifications
You must be signed in to change notification settings
Fork
199
Star
4k
Code
Issues
8
Pull requests
2
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
gpu.cpp
/
python
/
gpu_cpp
/
_async.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
6 lines (4 loc) · 126 Bytes
Breadcrumbs
gpu.cpp
/
python
/
gpu_cpp
/
_async.py
Copy path
File metadata and controls
6 lines (4 loc) · 126 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
import
asyncio
async
def
wait
(
future
):
while
not
future
.
_poll
():
await
asyncio
.
sleep
(
0.001
)
return
future
.
_result
()
Back
|
FazBrowse Home
|
New Git URL