function Promise.spawn(b)local r=Promise.new()task.spawn(b,r:_getResolveReject())return r end

function Promise.spawn(func)
	local self = Promise.new()

	task.spawn(func, self:_getResolveReject())

	return self
end
