function.createOfflineViewState
API > createOfflineViewState
Function: createOfflineViewState
createOfflineViewState(
storage
):Promise
\<OfflineViewState
>
Create and initialize an offline view state object.
Parameters
Parameter | Type | Description |
---|---|---|
storage | OfflineStorageOPFS | The offline storage to use. |
Returns
Promise
\< OfflineViewState
>