dimsuz
05/30/2017, 1:18 PMfun hello(avatarPath: String): Single<Response> {
return someSingleFactory.flatMap { params ->
createAnotherSingle(params, avatarPath) // <-- OK to use avatarPath inside the lambda?
}
}
I suppose that avatarPath is effectively final
at this point, but still - maybe there are some potential threading issues or smth else?