how make promise object using in dojo to execute task work sequentially in node.js ?
Promises in node are the same as promises in the browser. If you're pulling in dojo, you can use dojo/deferred.
The JS standard library also has a promise implementation, just Promise, that is mostly compatible with the dojo version.