Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

repeat

import { repeat } from "https://raw.githubusercontent.com/surma/observables-with-streams/28c55be6d855780c677fd1f4ba975f4d3144891d/src/index.ts";

Creates an observable that forever emits the same value.

function repeat<T>(v: T): Observable<T>;
§
repeat<T>(v: T): Observable<T>
[src]

§Type Parameters

§Parameters

§Return Type

§

New observable that emits the same value multiple times.