map To Finished
inline fun <In : Any, Out : Any> Fetch<In>.mapToFinished(initial: () -> Out, fetching: () -> Out, finished: (result: In) -> Out): Fetch.Finished<Out>
Transform all Fetch states into a finished state.
Unlike fold,
mapToFinished
re-wraps the results of each lambda as a finished state of type Out.
Receiver
The Fetch to transform.