@taquito/taquito
Version:
High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.
11 lines (10 loc) • 481 B
TypeScript
import { Context } from '../context';
import { Filter, SubscribeProvider, Subscription, OperationContent } from './interface';
export declare class PollingSubscribeProvider implements SubscribeProvider {
private context;
readonly POLL_INTERVAL: number;
private newBlock$;
constructor(context: Context, POLL_INTERVAL?: number);
subscribe(_filter: 'head'): Subscription<string>;
subscribeOperation(filter: Filter): Subscription<OperationContent>;
}