Package de. peekandpoke. kraft. streams. addons
Types
Link copied to clipboard
class LocalStorageStreamStorage<T>( toStr: (T) -> String, fromStr: (String?) -> T?, storageKey: String) : StreamStorage<T>
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun debouncedFuncExceptFirst(delayMs: Int = 200, block: () -> Unit): () -> Unit
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> StreamSource<T>.persistInLocalStorage( key: String, serializer: KSerializer<T>, codec: Json = defaultJson): StreamSource<T>
Content copied to clipboard
Converts a StreamSource so that it will persist its values in the local storage under the given key.