1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

LibJS: Implement the Promise.withResolvers proposal

https://github.com/tc39/proposal-promise-with-resolvers
This commit is contained in:
Timothy Flynn 2023-07-12 15:28:03 -04:00 committed by Linus Groh
parent 705e96568c
commit 36d156428b
4 changed files with 87 additions and 1 deletions

View file

@ -31,8 +31,8 @@ private:
JS_DECLARE_NATIVE_FUNCTION(race);
JS_DECLARE_NATIVE_FUNCTION(reject);
JS_DECLARE_NATIVE_FUNCTION(resolve);
JS_DECLARE_NATIVE_FUNCTION(symbol_species_getter);
JS_DECLARE_NATIVE_FUNCTION(with_resolvers);
};
}