Software Developer - Scala
Travel | Movies | History | Nature I am a software developer. Started my career as a Java developer, but later switched to Scala. I wish to write Scala articles which are easier for newbies to follow. I love to travel, prefer to be alone or in very small group. Love to watch movies/series.
Markdown supported · ⌘↵ to post
We can use the method attempt to lift the value of an IO into an Either. If the IO failed, it lifts the value as Right, otherwise into a Left:
vice versa!
sammo90
// deprecated: method onError in class IO is deprecated since 3.6.0: Use onError with PartialFunction argument:
// new: