www/category-category-module-es5.js
/**
     * @param payload The data from the push event that should be sent to all
     * available pages.
     * @returns Returns a promise that resolves once the message has been sent to
     * all WindowClients.
     */
@param payload The data from the push event that should be sent to all
available pages.
@returns Returns a promise that resolves once the message has been sent to
all WindowClients.
@param payload The data from the push event that should be sent to all available pages . @returns Returns a promise that resolves once the message has been sent to all WindowClients .
function sendMessageToWindowClients(clientList, payload) {
      var e_2, _a;
      var message = createNewMessage(MessageType.PUSH_RECEIVED, payload);
      try {
        for (var clientList_2 = Object(tslib__WEBPACK_IMPORTED_MODULE_3__["__values"])(clientList), clientList_2_1 = clientList_2.next(); !clientList_2_1.done; clientList_2_1 = clientList_2.next()) {
          var client = clientList_2_1.value;
          client.postMessage(message);
        }
      } catch (e_2_1) {
        e_2 = {
          error: e_2_1
        };
      } finally {
        try {
          if (clientList_2_1 && !clientList_2_1.done && (_a = clientList_2.return)) _a.call(clientList_2);
        } finally {
          if (e_2) throw e_2.error;
        }
      }
    }
function sendMessageToWindowClients ( clientList , payload ) { var e_2 , _a ; var message = createNewMessage ( MessageType . PUSH_RECEIVED , payload ) ; try { for ( var clientList_2 = Object ( tslib__WEBPACK_IMPORTED_MODULE_3__ [ "__values" ] ) ( clientList ) , clientList_2_1 = clientList_2 . next ( ) ; ! clientList_2_1 . done ; clientList_2_1 = clientList_2 . next ( ) ) { var client = clientList_2_1 . value ; client . postMessage ( message ) ; } } catch ( e_2_1 ) { e_2 = { error : e_2_1 } ; } finally { try { if ( clientList_2_1 && ! clientList_2_1 . done && ( _a = clientList_2 . return ) ) _a . call ( clientList_2 ) ; } finally { if ( e_2 ) throw e_2 . error ; } } }
@param payload The data from the push event that should be sent to all
 available pages.
@param payload The data from the push event that should be sent to all available pages .