WebOpfsStorage
-
JS
class WebOpfsStorage<T : Any?> : Storage
Summary
Public constructors |
|
|---|---|
<T : Any?> WebOpfsStorage(serializer: OkioSerializer<T>, name: String) |
JS
|
Public functions |
||
|---|---|---|
open StorageConnection<T> |
Creates a storage connection which allows reading and writing to the underlying storage. |
JS
|
Public constructors
Public functions
createConnection
open fun createConnection(): StorageConnection<T>
Creates a storage connection which allows reading and writing to the underlying storage.
Should be closed after usage.
| Throws | |
|---|---|
IOException |
Unrecoverable IO exception when trying to access the underlying storage. |