function FunctionQueue.Dispatch(k)for k,t in pairs(k._Functions)do local i=t[1]local r=t[2]local y=coroutine.create(i)local M,P=coroutine.resume(y,unpack(r))if not M then Log.Warn("\070\117\110\099\116\105\111\110 \037\115 \116\101\114\109\105\110\097\116\101\100 \119\105\116\104 \097\110 \101\114\114\111\114\058 \037\115",i,P)end end k._Functions={}end
--[[ @brief Runs all currently queued functions.
--]]
function FunctionQueue:Dispatch()
	for i, v in pairs(self._Functions) do
		local f = v[1]
		local args = v[2]
		local co = coroutine.create(f)
		local success, error = coroutine.resume(co, unpack(args))
		if not success then
			Log.Warn("Function %s terminated with an error: %s", f, error)
		end
	end
	self._Functions = {}
end
