FileSaver

fun FileSaver(path: String, recover: suspend (Exception) -> String? = ThrowRecover): Saver<String>

A DefaultFileSaver implementation that saves String state to the file system.

Usually used as a decorator for JsonSaver

See the overload for more details.

See also

fun FileSaver(dir: String, fileName: String, recover: suspend (Exception) -> String? = ThrowRecover): Saver<String>

A DefaultFileSaver implementation that saves String state to the file system.

Usually used as a decorator for JsonSaver

See the overload for more details.

See also