-- for scene switching specifically

local waitForOrchestra = {}

waitForOrchestra.task = task

function waitForOrchestra:call()
	while
		not SceneFramework:GetAttribute(enums.Attribute.FrameworkReady)
		or not Conductor:GetAttribute(enums.Attribute.FrameworkReady)
	do
		waitForOrchestra.task.wait()
	end
end

return waitForOrchestra
