Join Slack
Powered by
Is there a lazy version of `IO.raiseError<T>...
# arrow
s
Satyam Agarwal
04/07/2020, 7:40 AM
Is there a lazy version of `IO.raiseError<T>`() as well ? Or I should do
IO.lazy.flatMap { IO.raiseError(e) }
, because raiseError also has same implementation like IO.just(),
RaiseError(e)
which is a data class, so I am guessing this, also, will execute immediately ?
5
Views
Open in Slack
Previous
Next