mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 13:11:11 +00:00
feat: add asyncio
type decls
This commit is contained in:
parent
4cd79cbb1a
commit
c6882fee53
11 changed files with 78 additions and 3 deletions
5
crates/erg_compiler/lib/pystd/asyncio.d/tasks.d.er
Normal file
5
crates/erg_compiler/lib/pystd/asyncio.d/tasks.d.er
Normal file
|
@ -0,0 +1,5 @@
|
|||
.Task!: ClassType
|
||||
|
||||
.current_task!: (loop := Obj) => Task!
|
||||
.gather!: (*coros: GenericCallable) => NoneType
|
||||
.sleep!: (delay: Float) => NoneType
|
Loading…
Add table
Add a link
Reference in a new issue