GE Lua Documentation

Press F to search!

getRunningJobCount

Definition


-- @/lua/ge/extensions/core/jobsystem.lua:140

local function getRunningJobCount()
  return #coroutines
end

Callers

@/lua/ge/extensions/util/worker.lua

  if queued and core_jobsystem.getRunningJobCount() == 0 then
    -- no jobs? no problem! :)