core package
Classes
|
Class |
Description |
|---|---|
|
Class ClusteredRedisQueue Implements the possibility to scale queues horizontally between several redis instances. | |
|
Message Queue Factory | |
|
Class RedisQueue Implements simple messaging queue over redis. | |
Enumerations
|
Enumeration |
Description |
|---|---|
Functions
|
Function |
Description |
|---|---|
|
Safely builds full options definition using default options and partial given options T | |
|
Returns random integer between given min and max | |
|
Prints debug information | |
|
Compress given data and returns binary string | |
|
Implements '@profile' decorator. | |
|
Makes given object methods promise-like | |
|
Returns entire list of the given object properties including entire prototype chain | |
|
Returns SHA1 hash sum of the given string | |
|
Decompress binary string and returns plain data | |
|
Generates and returns Unified Unique Identifier | |
|
Checks if log level is set to proper value or returns default one |
Interfaces
|
Interface |
Description |
|---|---|
|
Logger interface | |
|
Defines message format. {IMessage} | |
|
Generic messaging queue implementation interface | |
|
Message queue options | |
|
Extends default Redis type to allow dynamic properties access on it {IRedisClient} | |
|
Represents JSON-serializable array | |
|
Represents JSON serializable object | |
Variables
|
Variable |
Description |
|---|---|
|
Environment variable IMQ_LOG_ARGS=[1, 0] - enables/disables profiled call arguments to be logged {boolean} | |
|
Environment variable IMQ_LOG_TIME_FORMAT=[ 'microseconds', 'milliseconds', 'seconds' ]. Specifies profiled time logging format, by default is 'microseconds' {AllowedTimeFormat | string} | |
|
Environment variable IMQ_LOG_TIME=[1, 0] - enables/disables profiled timings logging {boolean} | |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Represents any JSON-serializable value | |
|
Alias for JsonObject, legacy, outdated, deprecated, try to avoid using. Stands here for backward-compatibility only | |