src/courier/PostMessageCourier.js
function _handleTimeout(id, callback) {
                // Handle timeout
                if (id && "function" === typeof callback) {
                    try {
                        callback.call(null, new Error("Callback: Operation Timeout!"));
                    }
                    catch (ex) {
                        /* istanbul ignore next  */
                        PostMessageUtilities.log("Error while trying to handle the timeout using the callback", "ERROR", "PostMessageCourier");
                    }
                }
            }
function _handleTimeout(id, callback) {
                // Handle timeout
                if (id && "function" === typeof callback) {
                    try {
                        callback.call(null, new Error("Callback: Operation Timeout!"));
                    }
                    catch (ex) {
                        /* istanbul ignore next  */
                        PostMessageUtilities.log("Error while trying to handle the timeout using the callback", "ERROR", "PostMessageCourier");
                    }
                }
            }
function _handleTimeout ( id , callback ) { // Handle timeout if ( id && "function" === typeof callback ) { try { callback . call ( null , new Error ( "Callback: Operation Timeout!" ) ) ; } catch ( ex ) { /* istanbul ignore next  */ PostMessageUtilities . log ( "Error while trying to handle the timeout using the callback" , "ERROR" , "PostMessageCourier" ) ; } } }
Method for handling timeout of a cached callback
@param {String} id - the id of the timed out callback
@param {Function} callback - the callback object from cache
@private
Method for handling timeout of a cached callback