function Registry.FlushAutoExecBufferDeferred(U)if U.AutoExecFlushConnection then return end U.AutoExecFlushConnection=RunService.Heartbeat:Connect(function()U.AutoExecFlushConnection:Disconnect()U.AutoExecFlushConnection=nil U:FlushAutoExecBuffer()end)end
--- Calls self:FlushAutoExecBuffer at the end of the frame
function Registry:FlushAutoExecBufferDeferred()
	if self.AutoExecFlushConnection then
		return
	end

	self.AutoExecFlushConnection = RunService.Heartbeat:Connect(function()
		self.AutoExecFlushConnection:Disconnect()
		self.AutoExecFlushConnection = nil
		self:FlushAutoExecBuffer()
	end)
end
