method Qworum.setData
Qworum.setData(
path,
value,
)

Sets the value contained in a data container.

Examples

Example 1

try{ await Qworum.setData('year', Qworum.Json(2022)); console.info('The write operation was successful.'); }catch(error){ console.error('The write operation was not successful.'); }

Parameters

path
  • The path of the data container.
value

Return Type

See

Usage

import { Qworum } from ".";