Skip to main content
Latest
interface TimestampProvider
import { type TimestampProvider } from "https://deno.land/x/rxjs@v1.0.2/mod.ts";

This is a type that provides a method to allow RxJS to create a numeric timestamp

Methods

now(): number

Returns a timestamp as a number.

This is used by types like ReplaySubject or operators like timestamp to calculate the amount of time passed between events.