3 ms·
> - oh, it's not "just a bind operator" It is though, it's a function/operator that is defined in userland. > - oh, you need special syntax > - oh, you need
by travv0 5y ago
> - oh, it's not "just a bind operator"
It is though, it's a function/operator that is defined in userland.
> - oh, you need special syntax
> - oh, you need a third party library that may or may not have support for that special syntax
No, you don't need either of these things. These just add a convenient syntax that desugars to the aforementioned bind function. These PPXs aren't special keywords specifically for async/await that had to be added into the language's syntax itself. Note that I know nothing about ReScript and this reply is not about ReScript, as that's not what this comment chain is about.