/// Returns a `Receiver` that contains only the initial value, and closes when
/// the receiver is dropped.
Returns a `Receiver` that contains only the initial value, and closes when
the receiver is dropped.
Returns a ` Receiver ` that contains only the initial value and closes when the receiver is dropped .
pub fn only(profile: Profile) -> Receiver {
    let (tx, rx) = channel(profile);
    tokio::spawn(async move { tx.closed().await });
    rx.into()
}
pub fn only ( profile : Profile ) -> Receiver { let ( tx , rx ) = channel ( profile ) ; tokio :: spawn ( async move { tx . closed ( ) . await } ) ; rx . into ( ) }
Returns a `Receiver` that contains only the initial value, and closes when
the receiver is dropped.
Returns a ` Receiver ` that contains only the initial value and closes when the receiver is dropped .
profile
Profile