s
s
snc
Search…
now
snc.now(function, callback(data))
Execute now and then execute callback.
1
snc.now(then => {
2
console.log('Now')
3
4
setTimeout(() => {
5
then('End...')
6
}, 3000)
7
},
8
res => {
9
console.log(`Reponse: ${JSON.stringify(res)}`)
10
})
Copied!
1
-> Now
2
-> Response: "End..."
Copied!
Copy link