setSessionStorageItem

abstract fun setSessionStorageItem(scope: CoroutineScope, key: String, value: String): Deferred<Unit>

异步在 SessionStorage 中设置键值对。

Return

一个 Deferred<Unit>

Parameters

scope

用于执行此操作的协程作用域。

key

键。

value

值。