MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / #getCurrentThread

Method #getCurrentThread

lib/modCheckLib.js:687–691  ·  view source on GitHub ↗
( largeFileThread = false )

Source from the content-addressed store, hash-verified

685 }
686
687 #getCurrentThread( largeFileThread = false ) {
688 if ( largeFileThread ) { return Math.min(...this.#threadPoolIdx) }
689 this.#threadCurrent++
690 return [...this.#threadPoolIdx][this.#threadCurrent % this.#threadPoolIdx.size]
691 }
692
693 /**
694 * Process mods on disk (multi-threaded)

Callers 1

#addModMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected