Converts Task[A]
into F[A]
.
Converts Task[A]
into F[A]
.
The operation should preserve referential transparency and if
possible runtime characteristics (e.g. the result should not
block threads if the source doesn't) and interruptibility
(although this isn't possible for conversions to
cats.effect.Async
data types that are not also Concurrent
).
A lawless type class that specifies conversions from
Task
to similar data types (i.e. pure, asynchronous, preferably cancelable).