K-combinators cannot be applied directly to IO[Future[A]]
using >>=
,
wrapping them in defer()
makes this possible.
K-combinators cannot be applied directly to IO[Future[A]]
using >>=
,
wrapping them in defer()
makes this possible.
Any subsequent asynchronous operations that need to run (>>=
) after an
IO[Future[A]]
should be wrapped in deferF()
to keep the proper
IO[Future[A]]
type.
Any subsequent asynchronous operations that need to run (>>=
) after an
IO[Future[A]]
should be wrapped in deferF()
to keep the proper
IO[Future[A]]
type.