Hi! I am always a bit unclear on one thing: is it ...
# rx
d
Hi! I am always a bit unclear on one thing: is it ok to use a method parameter inside an rx chain? or is it some kind of smell? If yes, why? Example:
Copy code
fun 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?