Coding changes the world.

Msc Final Project

R9

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading

Msc Final Project

R8

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading

Msc Final Project

R7

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading

Msc Final Project

R6

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading

Msc Final Project

R5

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading

Msc Final Project

R4

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading

Msc Final Project

R3

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading

Msc Final Project

R1

In ES6, Promise is an improvement of traditional callback. We always put the async request in new Promise(), it will wait until you get the result for resolve or reject. While if you put the async function in then(), whatever you return in that async request, then() will return Promise.resolve(undefined) as async callback is just local function.

Continue reading