--[=[
	Clears the TaskQueue. This will clear any tasks
	that were scheduled to be flushed on the current
	execution frame.

	```lua
	queue:Add(something1)
	queue:Add(something2)
	queue:Clear()
	```
]=]

function TaskQueue:Clear()
	if self._flushing then return end
	table.clear(self._queue)
	self._flushingScheduled = false
end

