pub fn async_acquire_shared_session_with_result<T, F>(
shared: SharedChannel<LinearToShared<F>>,
cont1: impl FnOnce(Z) -> PartialSession<(F::Applied, ()), SendValue<T, End>> + Send + 'static
) -> JoinHandle<T> where
F: Protocol,
T: Send + 'static,
F: SharedRecApp<SharedToLinear<LinearToShared<F>>>,
F::Applied: Protocol,