nl_tokens: Sends a message to the comObj to invoke the action with the supplied data . Expects that other side will callback with the response .
pl_tokens: function messageHandlerSendWithPromise ( actionName , data , transfers ) { var callbackId = this . callbackIndex ++ ; var message = { <mask> : actionName , data : data , callbackId : callbackId } ; var capability = createPromiseCapability ( ) ; this . callbacksCapabilities [ callbackId ] = capability ; try { this . postMessage ( message , transfers ) ; } catch ( e ) { capability . reject ( e ) ; } return capability . promise ; }