Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

app.memory

Leonardo Laureti edited this page May 13, 2019 · 1 revision

app.memory

Handles storage entries

<Object>

available methods:

 - set (key <String>, value)
 - get (key <String>)
 - has (has <String>, value)
 - del (key <String>)
 - reset ()

 

app.memory.set

Sets storage entry

<Function>

arguments:

<String> key
value

returns.

position:

 

app.memory.get

Gets storage entry

<Function>

arguments:

<String> key
value

returns.

position:

 

app.memory.has

Checks existence for storage entry by key and match value

<Function>

arguments:

<String> key
value

returns:

<Boolean>

position:

 

app.memory.del

Removes storage entry by key

<Function>

arguments:

<String> key

returns.

position:

 

app.memory.reset

Resets storage

<Function>

returns.

position:

 

Clone this wiki locally