marmottajax icon indicating copy to clipboard operation
marmottajax copied to clipboard

How about Promise?

Open houd1ni opened this issue 8 years ago • 2 comments

Hi, Dmitry!

Seems, that the lib lacks easy standard then/catch along with implemented success/error aliases. Maybe add?..

Also, we can use somehow native promises if supported to enable also async/await features. Is it ok, how do u think? This wouldn't obscure keeping simplicity.

houd1ni avatar Jul 20 '17 10:07 houd1ni

Yep this could be a great idea.

dimitrinicolas avatar Jul 20 '17 12:07 dimitrinicolas

Nice! Going to make this.

houd1ni avatar Jul 20 '17 14:07 houd1ni