UNPKG

@pokt-network/pocket-js

Version:

Pocket-js core package with the main functionalities to interact with the Pocket Network.

20 lines (19 loc) 657 B
import { ProfileResult } from "./models/profile-result"; import { BaseProfiler } from "./base-profiler"; /** * NoOpProfiler */ export declare class NoOpProfiler extends BaseProfiler { data: { key: string; time_elapsed: number | undefined; }[]; /** * Handles the profiler results * @param { any } data - Object that can hold any extra information for metrics. * @param { string } functionName - Main function name. * @param { ProfileResult[] } results - Profile results array * @memberof NoOpProfiler */ flushResults(data: any, functionName: string, results: ProfileResult[]): Promise<void>; }