@hotmeshio/hotmesh 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Elevate Redis from an in-memory data cache, and turn your unpredictable function
|
|
|
7
7
|
|
|
8
8
|
It's still Redis in the background, but your functions are run as *reentrant processes* and are executed in a distributed environment, with all the benefits of a distributed system, including fault tolerance, scalability, and high availability.
|
|
9
9
|
|
|
10
|
-
Write functions in your own preferred style, and let Redis govern their execution
|
|
10
|
+
Write functions in your own preferred style, and let Redis govern their execution with its unmatched performance.
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
[](https://badge.fury.io/js/%40hotmeshio%2Fhotmesh)
|
|
@@ -99,10 +99,12 @@ Redis governance delivers more than just reliability. Externalizing state fundam
|
|
|
99
99
|
- `random` | Generate a deterministic random number that can be used in a reentrant process workflow (replaces `Math.random()`).
|
|
100
100
|
- `executeChild` | Call another durable function and await the response. *Design sophisticated, multi-process solutions by leveraging this command.*
|
|
101
101
|
- `startChild` | Call another durable function, but do not await the response.
|
|
102
|
-
- `set` | Set
|
|
103
|
-
- `get` | Get a value (e.g, `get('name')`)
|
|
102
|
+
- `set` | Set one or more name/value pairs (e.g, `set('name1', 'value1', 'name1', 'value2')`)
|
|
103
|
+
- `get` | Get a single value by name(e.g, `get('name')`)
|
|
104
|
+
- `mget` | Get multiple values by name (e.g, `get('name1', 'name2')`)
|
|
105
|
+
- `del` | Delete one or more entries by name and return the number deleted (e.g, `del('name1', 'name1')`)
|
|
104
106
|
- `incr` | Increment (or decrement) a number (e.g, `incr('name', -99)`)
|
|
105
|
-
- `mult` | Multiply
|
|
107
|
+
- `mult` | Multiply a number (e.g, `mult('name', 12)`)
|
|
106
108
|
|
|
107
109
|
Refer to the [hotmeshio/samples-typescript](https://github.com/hotmeshio/samples-typescript) repo for usage examples.
|
|
108
110
|
|
package/build/package.json
CHANGED
package/package.json
CHANGED