Re: [heycam/webidl] Allow functions to be used as promise inputs (#1020)

APIs that want this should just be able to use:
```webidl
callback PromiseCallback = Promise<undefined> ();
interface AppHistoryNavigateEvent : Event {
 undefined transitionWhile((Promise<undefined> | PromiseCallback) newNavigationAction);
};
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/1020#issuecomment-930395161

Received on Wednesday, 29 September 2021 17:38:57 UTC