Home
last modified time | relevance | path

Searched refs:activeFiles (Results 1 – 1 of 1) sorted by relevance

/third_party/node/deps/npm/node_modules/write-file-atomic/
Dindex.js11 var activeFiles = {} variable
67 if (!activeFiles[absoluteName]) activeFiles[absoluteName] = []
69 activeFiles[absoluteName].push(resolve) // add this job to the queue
70 if (activeFiles[absoluteName].length === 1) resolve() // kick off the first one
173 activeFiles[absoluteName].shift() // remove the element added by serializeSameFile
174 if (activeFiles[absoluteName].length > 0) {
175 activeFiles[absoluteName][0]() // start next job if one is pending
176 } else delete activeFiles[absoluteName]