zlacker

[parent] [thread] 0 comments
1. sgbeal+(OP)[view] [source] 2024-01-20 13:58:24
> It's an abomination but it's the only(?) approach for making async functions behave fully synchronously which doesn't require third-party voodoo like Asyncify.

PS: it's also limited to argument and result types which we can serialize into a byte array. i.e. its utility is more limited than direct use of async APIs is, as those can accept any argument type and resolve to any type of value. That fine for the case of sqlite but it's not a general-purpose solution.

[go to top]