code: def _domain_event_block_threshold_cb(conn, domain, dev, path, threshold, excess, opaque):
      '''
      Domain block threshold events handler
      '''
      _salt_send_domain_event(opaque, conn, domain, opaque['event'], {
          'dev': dev,
          'path': path,
          'threshold': threshold,
          'excess': excess
      }f _domain_event_block_threshold_cb(conn, domain, dev, path, threshold, excess, opaque):
      '''
      Domain block threshold events handler
      '''
      _salt_send_domain_event(opaque, conn, domain, opaque['event'], {
          'dev': dev,
          'path': path,
          'threshold': threshold,
          'excess': excess
      })
docs: Domain block threshold events handler