function RxBrioUtils.flatMap(M,n)assert(type(M)=="\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\102\108\097\116\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\102\108\097\116\077\097\112\066\114\105\111")return Rx.flatMap(RxBrioUtils.mapBrio(M),n)end
--[=[
	Flat map equivalent for brios. The resulting observables will
	be disconnected at the end of the brio.

	@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
	@param resultSelector ((initial TBrio, value: TProject) -> TResult)?
	@return (source: Observable<Brio<TBrio>> -> Observable<TResult>)
]=]
function RxBrioUtils.flatMap(project, resultSelector)
	assert(type(project) == "function", "Bad project")

	warn("[RxBrioUtils.flatMap] - Deprecated since 3.6.0. Use RxBrioUtils.flatMapBrio")

	return Rx.flatMap(RxBrioUtils.mapBrio(project), resultSelector)
end
