MCPcopy
hub / github.com/mouredev/hello-javascript / step1Promise

Function step1Promise

Intermediate/07-async.js:98–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96// - Encadenamiento de promesas
97
98function step1Promise() {
99 return new Promise(resolve => {
100 setTimeout(() => {
101 console.log("Paso 1 con promesa completado")
102 resolve()
103 }, 1000)
104 })
105}
106
107function step2Promise() {
108 return new Promise(resolve => {

Callers 1

07-async.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected