Progress operations

Progress operations are responsible for storing data temporary in Local Storage.

The namespace is of course called progress. The general design of the namespace follows this pattern unless stated otherwise:

📘

General call:

sdk.progress.someMethod();

The syntax of the key follows the pattern: fu-progress-${type}-${id}

Each data is stored in new key in Local Storage. The JS SDK doesn't delete stored data automatically.

Operations

Get

Method: get(type, id)

Method returns data that the developper has stored in Local Storage

Set

Method: set(type, id, value)

Method stores data in Local Storage and returns it.

Delete

Method: delete(type, id)

Method deletes the data from Local Storage