Promises instead of Callbacks?
-
Is there any way of using Promises for stuff like
Datastore.get()
instead ofcallback
? -
@Emil Ok, thanks for info
-
Hi. Not right now, since we now use Duktape (https://duktape.org) as the javascript engine, which does not support promises and async. Maybe we will change to JerryScript or something in the future if there is a demand for this. We could potentially add some polyfill for promises but in that case I think it's better to get something that supports async.