refactor: generalize Await signature a little
This commit is contained in:
parent
b0991cf96b
commit
781672e935
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class Async (m : Type u → Type v) (n : outParam $ Type u → Type u) where
|
|||
|
||||
export Async (async)
|
||||
|
||||
class Await (n : Type u → Type u) (m : Type u → Type v) where
|
||||
class Await (n : Type u → Type v) (m : Type u → Type w) where
|
||||
/- Wait for an asynchronous task to finish. -/
|
||||
await : n α → m α
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue