function RxBrioUtils.switchMap(S)assert(type(S)=="\102\117\110\099\116\105\111\110","\066\097\100 \112\114\111\106\101\099\116")warn("\091\082\120\066\114\105\111\085\116\105\108\115\046\115\119\105\116\099\104\077\097\112\093 - \068\101\112\114\101\099\097\116\101\100 \115\105\110\099\101 \051\046\054\046\048\046 \085\115\101 \082\120\066\114\105\111\085\116\105\108\115\046\115\119\105\116\099\104\077\097\112\066\114\105\111")return Rx.switchMap(RxBrioUtils.mapBrio(S))end
--[=[
	Switch map but for brios. The resulting observable will be
	disconnected on the end of the brio's life.

	@deprecated 3.6.0 -- This method does not wrap the resulting value in a Brio, which can sometimes lead to leaks.
	@param project (value: TBrio) -> TProject
	@return (source: Observable<Brio<TBrio>>) -> Observable<TResult>
]=]
function RxBrioUtils.switchMap(project)
	assert(type(project) == "function", "Bad project")

	warn("[RxBrioUtils.switchMap] - Deprecated since 3.6.0. Use RxBrioUtils.switchMapBrio")

	return Rx.switchMap(RxBrioUtils.mapBrio(project))
end
