SET Spaces Data

Stateful

Stateful

space.public.set(key, value)

Set a value for the given key

Kind: instance method of KeyValueStore Returns: Boolean - true if successful

Param

Type

Description

key

String

the key

value

String

the value

space.private.set(key, value)

Set a value for the given key

Kind: instance method of KeyValueStore Returns: Boolean - true if successful

Param

Type

Description

key

String

the key

value

String

the value

space.public.setMultiple(keys, values)

Set multiple values for multiple keys

Kind: instance method of KeyValueStore Returns: Boolean - true if successful, throw error if not

Param

Type

Description

keys

Array.<String>

the keys

values

Array.<String>

the values

space.private.setMultiple(keys, values)

Set multiple values for multiple keys

Kind: instance method of KeyValueStore Returns: Boolean - true if successful, throw error if not

Param

Type

Description

keys

Array.<String>

the keys

values

Array.<String>

the values