spider::utils

Function get_semaphore

Source
pub async fn get_semaphore(
    semaphore: &Arc<Semaphore>,
    detect: bool,
) -> &Arc<Semaphore>
Expand description

Return the semaphore that should be used.