import { createUnicastSource } from '../../unicast-source/create-unicast-source'; import { IUnicastSource } from '../../unicast-source/unicast-source.type'; import { createReplaySource } from '../create-replay-source'; import { IReplaySource } from '../replay-source.type'; export type IUnicastReplaySource = IReplaySource>; export function createUnicastReplaySource( maxNumberOfValues?: number, ): IUnicastReplaySource { return createReplaySource>( createUnicastSource(), maxNumberOfValues, ); }