function flush () {
  let start
  functionalIds.clear()
  captureIds.clear()
  if (process.env.NODE_ENV !== 'production') {
    captureCount = 0
    start = isBrowser ? window.performance.now() : 0
  }
  const payload = stringify({
    inspectedInstance: getInstanceDetails(currentInspectedId),
    instances: findQualifiedChildrenFromList(rootInstances)
  })
  if (process.env.NODE_ENV !== 'production') {
    console.log(`[flush] serialized ${captureCount} instances${isBrowser ? `, took ${window.performance.now() - start}ms.` : ''}.`)
  }
  bridge.send('flush', payload)
}
function flush () {
  let start
  functionalIds.clear()
  captureIds.clear()
  if (process.env.NODE_ENV !== 'production') {
    captureCount = 0
    start = isBrowser ? window.performance.now() : 0
  }
  const payload = stringify({
    inspectedInstance: getInstanceDetails(currentInspectedId),
    instances: findQualifiedChildrenFromList(rootInstances)
  })
  if (process.env.NODE_ENV !== 'production') {
    console.log(`[flush] serialized ${captureCount} instances${isBrowser ? `, took ${window.performance.now() - start}ms.` : ''}.`)
  }
  bridge.send('flush', payload)
}
function flush ( ) { let start functionalIds . clear ( ) captureIds . clear ( ) if ( process . env . NODE_ENV !== 'production' ) { captureCount = 0 start = isBrowser ? window . performance . now ( ) : 0 } const payload = stringify ( { inspectedInstance : getInstanceDetails ( currentInspectedId ) , instances : findQualifiedChildrenFromList ( rootInstances ) } ) if ( process . env . NODE_ENV !== 'production' ) { console . log ( ` ${ captureCount } ${ isBrowser ? ` ${ window . performance . now ( ) - start } ` : '' } ` ) } bridge . send ( 'flush' , payload ) }
Called on every Vue.js batcher flush cycle.
Capture current component tree structure and the state
of the current inspected instance (if present) and
send it to the devtools.
Called on every Vue . js batcher flush cycle . Capture current component tree structure and the state of the current inspected instance ( if present ) and send it to the devtools .
Flush the current inspected instance