MCPcopy Create free account
hub / github.com/3rdparty/libprocess / recover

Function recover

include/process/future.hpp:482–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480
481 template <typename F>
482 Future<T> recover(_Deferred<F>&& deferred) const
483 {
484 return recover(
485 std::move(deferred)
486 .operator lambda::CallableOnce<Future<T>(const Future<T>&)>());
487 }
488
489 // TODO(benh): Considering adding a `rescue` function for rescuing
490 // abandoned futures.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected