Skip to main content

get_value

Function get_value 

Source
pub async fn get_value<T: Send + Sync + Clone + 'static>(
    sender: &Sender<Option<T>>,
    token: CancellationToken,
) -> Option<T>