UNPKG

keep-observers

Version:

This is a monitoring service applied to the web side Support Elasticsearch+kiban The middleware extension interface is provided by means of plug-in service compositionkeep-observers

8 lines (7 loc) 345 B
import { catchParams } from '../../../types/pipe'; declare class WatchDog { private _config; constructor(config?: {}); sendMessageLimtWatch(fn: (catchParams: catchParams, contendHashCode: string) => Promise<any>, anomalyCallback: (msg: string) => Promise<any>): (catchParams: catchParams) => Promise<any>; } export default WatchDog;