store/String

Source:

Methods

(async) commit() → {Promise}

Description:
  • Pushes the string back to the repository.

Source:
See:
  • String#setString
Returns:
Type
Promise

getString() → {string}

Source:
Returns:

may be an empty string, never null or undefined.

Type
string

setString(string) → {StringResource}

Description:
  • Set a new string, does not save it to the repository, use commit for that. E.g.

    stringresource.setString("New value").commit().then(function() {...});
    
Source:
See:
  • String#commit
Parameters:
Name Type Description
string string

the new string

Returns:

allows chaining with commit.

Type
StringResource