CompileFunctionInContext and async functions

19 views
Skip to first unread message

Liam Goodacre

unread,
Sep 15, 2022, 11:56:01 AM9/15/22
to v8-u...@googlegroups.com
Hello,

Is it possible to have a function compiled with CompileFunctionInContext() marked as an async function?


Ben Noordhuis

unread,
Sep 16, 2022, 6:17:02 AM9/16/22
to v8-u...@googlegroups.com
On Thu, Sep 15, 2022 at 5:56 PM Liam Goodacre <liam.g...@gmail.com> wrote:
>
> Hello,
>
> Is it possible to have a function compiled with CompileFunctionInContext() marked as an async function?

I don't think so. No way to mark it as a generator (function*) either.
Reply all
Reply to author
Forward
0 new messages