s
s
snc
Search…
now
snc.now(function, callback(data))
Execute now and then execute callback.
snc.now(then => {
console.log('Now')
setTimeout(() => {
then('End...')
}, 3000)
},
res => {
console.log(`Reponse: ${JSON.stringify(res)}`)
})
-> Now
-> Response: "End..."
Copy link