You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, processing a result can be done in a single expression and yield a final value by simply chaining the map(), mapErr() and unwrapOr() together.
An example for people coming from JavaScript would show how map() and mapErr() are like then() and catch() on Promises.
The text was updated successfully, but these errors were encountered:
For instance, processing a result can be done in a single expression and yield a final value by simply chaining the
map()
,mapErr()
andunwrapOr()
together.An example for people coming from JavaScript would show how
map()
andmapErr()
are likethen()
andcatch()
on Promises.The text was updated successfully, but these errors were encountered: