mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
455 B
14 lines
455 B
import { IScheduler } from '../Scheduler';
|
|
import { OperatorFunction } from '../interfaces';
|
|
/**
|
|
* @param scheduler
|
|
* @return {Observable<Timestamp<any>>|WebSocketSubject<T>|Observable<T>}
|
|
* @method timestamp
|
|
* @owner Observable
|
|
*/
|
|
export declare function timestamp<T>(scheduler?: IScheduler): OperatorFunction<T, Timestamp<T>>;
|
|
export declare class Timestamp<T> {
|
|
value: T;
|
|
timestamp: number;
|
|
constructor(value: T, timestamp: number);
|
|
}
|
|
|