import { MonoTypeOperatorAsyncFunction } from '../../interfaces' ; import { RaceAsyncIterable } from '../race' ; param { ... AsyncIterable < T > [ ] } sources return { MonoTypeOperatorAsyncFunction < TSource > } export function raceWith < TSource > ( ... sources ) { return function raceWithOperatorFunction ( source ) { return new RaceAsyncIterable < TSource > ( [ source , ... sources ] ) ; } ; }