src/store/Chain.js
// Unsubscribe from the latest blocks.
Unsubscribe from the latest blocks.
Unsubscribe from the latest blocks .
unsubscribe({ commit, getters }) {
      let subscription = getters.getSubscription
      if (subscription !== null) {
        subscription[1].unsubscribe()
        subscription[0].close()
        commit('mutate', {key: 'subscription', value: null})
      }
    }
unsubscribe ( { commit , getters } ) { let subscription = getters . getSubscription if ( subscription !== null ) { subscription [ 1 ] . unsubscribe ( ) subscription [ 0 ] . close ( ) commit ( 'mutate' , { key : 'subscription' , value : null } ) } }
Unsubscribe from the latest blocks.
Unsubscribe from the latest blocks .