Variables
Const ConnectionStatusEvent
ConnectionStatusEvent: { close: "close"; connectionError: "connectionError"; ready: "ready"; unknown: "unknown" } = ...
Type declaration
-
close: "close"
-
connectionError: "connectionError"
-
ready: "ready"
-
unknown: "unknown"
Const Duration
Duration: { days: { of: typeof daysOf; from: any }; hours: { of: typeof hoursOf; from: any }; milliseconds: { of: typeof millisecondsOf; from: any }; minutes: { of: typeof minutesOf; from: any }; seconds: { of: typeof secondsOf; from: any }; value: { from: any; of: any }; isTypedDuration: any }
Type declaration
-
days: { of: typeof daysOf; from: any }
-
of: typeof daysOf
-
from: function
- from(time: MaybeTimeDuration): number
-
Parameters
Returns number
-
hours: { of: typeof hoursOf; from: any }
-
of: typeof hoursOf
-
from: function
- from(time: MaybeTimeDuration): number
-
Parameters
Returns number
-
milliseconds: { of: typeof millisecondsOf; from: any }
-
of: typeof millisecondsOf
-
from: function
- from(time: MaybeTimeDuration): number
-
Parameters
Returns number
-
minutes: { of: typeof minutesOf; from: any }
-
of: typeof minutesOf
-
from: function
- from(time: MaybeTimeDuration): number
-
Parameters
Returns number
-
seconds: { of: typeof secondsOf; from: any }
-
of: typeof secondsOf
-
from: function
- from(time: MaybeTimeDuration): number
-
Parameters
Returns number
-
value: { from: any; of: any }
-
from: function
- from(time: MaybeTimeDuration): number
-
Parameters
Returns number
-
of: function
- of(time: MaybeTimeDuration, defaultUnit?: string): string
-
Parameters
-
time: MaybeTimeDuration
-
Optional defaultUnit: string
Returns string
-
isTypedDuration: function
- isTypedDuration(maybeTypedDuration: any): maybeTypedDuration is TimeDuration
-
Parameters
Returns maybeTypedDuration is TimeDuration
Const JOB_ACTION_ACKNOWLEDGEMENT
JOB_ACTION_ACKNOWLEDGEMENT: "JOB_ACTION_ACKNOWLEDGEMENT" = ...
Const ZBJsonLogger
ZBJsonLogger: { debug: (message?: any, ...optionalParams: any[]) => void; error: (message?: any, ...optionalParams: any[]) => void; info: (message?: any, ...optionalParams: any[]) => void } = ...
Type declaration
-
debug: (message?: any, ...optionalParams: any[]) => void
-
- (message?: any, ...optionalParams: any[]): void
-
Parameters
-
Optional message: any
-
Rest ...optionalParams: any[]
Returns void
-
error: (message?: any, ...optionalParams: any[]) => void
-
- (message?: any, ...optionalParams: any[]): void
-
Parameters
-
Optional message: any
-
Rest ...optionalParams: any[]
Returns void
-
info: (message?: any, ...optionalParams: any[]) => void
-
- (message?: any, ...optionalParams: any[]): void
-
Parameters
-
Optional message: any
-
Rest ...optionalParams: any[]
Returns void
Const ZBSimpleLogger
ZBSimpleLogger: Logger = ...
Prints to
stdout
with newline.