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.
For more complete information about compiler optimizations, see our Optimization Notice.