i think that promise is from the developer not the function haha
you can do it but generally shouldnt as it may cause bugs