Quantcast
Channel: JavaScript and TypeScript — Photon Engine
Viewing all articles
Browse latest Browse all 162

Why addResponseListener callback not work?

$
0
0
It's right to get response data in ResponseListener's callback function ? Or I think wrong ?

here is my code :
const addListener = (client) => {
    client.addResponseListener(CODE,(e) => { console.log('addResponseListener callback',e.data) } );
}
But nothing in console QAQ

Viewing all articles
Browse latest Browse all 162

Trending Articles