Type Definitions
cbType()
ctxType
Type:
- Object.<string, Object>
jsonType
Type:
- Object | Array | string | number | null | boolean
mapOptionsType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
initialValue |
Object.<string, jsonType> |
<optional> |
An optional initial value for a writable map. |
bestEffort |
boolean |
<optional> |
Ignore errors when we cannot create a
replica. On failure the map is set to |
noExec |
boolean |
<optional> |
When true it always throws when calling
|
Type:
- Object
mapUpdateType
Properties:
Name | Type | Description |
---|---|---|
version |
number | An initial version number for the map. |
remove |
Array.<string> | Map keys to delete. |
add |
Array.<(string|Object)> | Key/value pairs to add to the map. They are laid out in the array as [key1, val1, key2, val2, ... * |
Type:
- Object
messagesType
Properties:
Name | Type | Description |
---|---|---|
index |
number | The first message in |
messages |
Array.<jsonType> | Messages received in the channel that have not been acknowledged previously. |
Type:
- Object
refMapType
Type:
- Object
specDeltaType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
name |
string |
<optional> |
|
module |
string | null |
<optional> |
|
description |
string |
<optional> |
|
env |
Object |
<optional> |
|
components |
Array.<specType> |
<optional> |
Type:
- Object
specType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
name |
string | ||
module |
string | null | ||
description |
string |
<optional> |
|
env |
Object | ||
components |
Array.<specType> |
<optional> |
Type:
- Object