JS Promise in GM
Link to JS Promise in GM
This is a 1:1 port of Javascript's promise object class. Apart from the requirement to use camel case for words like; then, all, catch, etc, The syntax works exactly the same as it would in Javascript.
This is a 1:1 port of Javascript's promise object class. Apart from the requirement to use camel case for words like; then, all, catch, etc, The syntax works exactly the same as it would in Javascript.