UNPKG

af-consul

Version:

A highly specialized function library

20 lines 966 B
/// <reference types="node" /> import { IAccessPoint, ICLOptions } from '../interfaces'; export declare function updateAccessPoint(clOptions: ICLOptions, accessPoint: IAccessPoint): Promise<-2 | -1 | 0 | 1>; export declare function updateAccessPoints(clOptions: ICLOptions): Promise<boolean>; export declare const accessPointsUpdater: { isStarted: boolean; isAnyUpdated: boolean; _timerId: NodeJS.Timeout; _logger: { silly: (message?: any, ...optionalParams: any[]) => void; debug: (message?: any, ...optionalParams: any[]) => void; info: (message?: any, ...optionalParams: any[]) => void; warn: (message?: any, ...optionalParams: any[]) => void; error: (message?: any, ...optionalParams: any[]) => void; }; start(clOptions: ICLOptions, updateInterval?: number): number; waitForAnyUpdated(timeout?: number): Promise<boolean>; stop(): void; }; //# sourceMappingURL=access-points-updater.d.ts.map