caliper-workspace/node_modules/fabric-network/lib/impl/event/transactioneventhandler.js
/**
     * Called to initiate listening for transaction events.
     */
Called to initiate listening for transaction events.
Called to initiate listening for transaction events .
async startListening() {
        const method = 'startListening';
        if (this.peers && this.peers.length > 0) {
            logger.debug('%s - have eventService list - start monitoring', method);
            this.setListenTimeout();
            await this.network.addCommitListener(this.listener, this.peers, this.transactionId);
        }
        else {
            logger.error('%s - No event services', method);
            this.resolveNotificationPromise();
        }
    }
async startListening ( ) { const method = 'startListening' ; if ( this . peers && this . peers . length > 0 ) { logger . debug ( '%s - have eventService list - start monitoring' , method ) ; this . setListenTimeout ( ) ; await this . network . addCommitListener ( this . listener , this . peers , this . transactionId ) ; } else { logger . error ( '%s - No event services' , method ) ; this . resolveNotificationPromise ( ) ; } }
Called to initiate listening for transaction events.
Called to initiate listening for transaction events .
// shutdown the monitoring