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

WebOpfsStorage

<T : Any?> WebOpfsStorage(serializer: OkioSerializer<T>, name: String)

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.