kluck
07/01/2019, 9:18 AMstartSession that gets declared twice in that version that made me try to change to fx
getCurrentSession().flatMap { currentSession ->
currentSession.fold(
{ createSession().flatMap { sessionRepository.startSession(it) } },
{ sessionRepository.startSession(it) }
}