than_
03/23/2020, 11:18 AMIO.fx {
val local: File? = getLocalFile().bind()
val remote: File? = getCorrectSizeFromStorage().bind()
val result: File? = getOriginalFromStorageAndResize().bind()
}
Is there any nice pattern to short circuit the computation on first non-null value it finds?than_
03/23/2020, 11:47 AMpakoito
03/23/2020, 12:13 PMpakoito
03/23/2020, 12:13 PMhandleErrorWith
for nullablesthan_
03/23/2020, 12:31 PM