Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
25 Views

createRoom callbackError arguments?

In the documentation it says 

callbackError(err)
 

suggesting that the function should accept one argument. But in basicServer.ts there is a call to createRoom that passes an error callback like:

function(status, err) { ...

What is the meaning of the two parameters? The err is just logged in the example.

 

Tags (2)
0 Kudos
0 Replies