node-opcua-utils
Advanced tools
Comparing version 2.88.0 to 2.90.1
@@ -1,1 +0,1 @@ | ||
export declare type FunctionVariadic = (...args: any[]) => void; | ||
export type FunctionVariadic = (...args: any[]) => void; |
@@ -1,2 +0,2 @@ | ||
export declare type HRTimeFunc = (time?: [number, number]) => [number, number]; | ||
export type HRTimeFunc = (time?: [number, number]) => [number, number]; | ||
export declare const hrtime: HRTimeFunc; |
@@ -6,4 +6,4 @@ /// <reference types="node" /> | ||
import { EventEmitter } from "events"; | ||
declare type ArbitraryClockTick = number; | ||
declare type DurationInMillisecond = number; | ||
type ArbitraryClockTick = number; | ||
type DurationInMillisecond = number; | ||
export interface IWatchdogData2 { | ||
@@ -10,0 +10,0 @@ key: number; |
@@ -27,10 +27,2 @@ "use strict"; | ||
class WatchDog extends events_1.EventEmitter { | ||
constructor() { | ||
super(); | ||
this._watchdogDataMap = {}; | ||
this._counter = 0; | ||
this._currentTime = this.getCurrentSystemTick(); | ||
this._visitSubscriberB = this._visit_subscriber.bind(this); | ||
this._timer = null; // as NodeJS.Timer; | ||
} | ||
static lastSeenToDuration(lastSeen) { | ||
@@ -45,2 +37,10 @@ return (0, get_clock_tick_1.get_clock_tick)() - lastSeen; | ||
} | ||
constructor() { | ||
super(); | ||
this._watchdogDataMap = {}; | ||
this._counter = 0; | ||
this._currentTime = this.getCurrentSystemTick(); | ||
this._visitSubscriberB = this._visit_subscriber.bind(this); | ||
this._timer = null; // as NodeJS.Timer; | ||
} | ||
/** | ||
@@ -47,0 +47,0 @@ * add a subscriber to the WatchDog. |
{ | ||
"name": "node-opcua-utils", | ||
"version": "2.88.0", | ||
"version": "2.90.1", | ||
"description": "pure nodejs OPCUA SDK - module -utils", | ||
@@ -37,3 +37,3 @@ "main": "./dist/index.js", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "0c20078b474f36855b799557f8fe931dbe20c2ca" | ||
"gitHead": "3325ff5f8477fd058ba574d19e8128c36e3e831f" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68096