Should return a function that, when given the resolvable and a function that takes the resolved value, attaches the function to the resolvable so that it will asynchronously execute it when its value is resolved.
Should return a function that, when given the resolvable and a function that takes the resolved value, attaches the function to the resolvable so that it will asynchronously execute it when its value is resolved.
See CanResolveFuture
and CanResolveLAFuture
in lift-webkit
for
example usages.
Represents a unifying class that can resolve an asynchronous container. For example, a
Future[String]
can be resolved by aCanResolveAsync[Future[String], String]
.Provides one method,
resolveAsync
, that takes the async container and a function to run when the container resolves.