I need to write a function:
function doTestConnCall(param1, param2, callbackfun)
param1 & param2 are parameters which I have used inside the function.
The 3rd parameter - callbackfun
is a function which to be called after finishing doTestConnCall
- How to achieve this?
- Is it possible to pass 2 callbacks inside a single method. Say
doTestConnCall(param1,callback1,callback2)
Think I am missing some basics. Could any one lead me