(
request: Request,
on_data: Box<dyn Fn(crate::Result<Part>) -> ControlFlow<()> + Send>,
)
| 100 | } |
| 101 | |
| 102 | pub(crate) fn fetch_streaming( |
| 103 | request: Request, |
| 104 | on_data: Box<dyn Fn(crate::Result<Part>) -> ControlFlow<()> + Send>, |
| 105 | ) { |
| 106 | std::thread::Builder::new() |
| 107 | .name("ehttp".to_owned()) |
| 108 | .spawn(move || fetch_streaming_blocking(request, on_data)) |
| 109 | .expect("Failed to spawn ehttp thread"); |
| 110 | } |
nothing calls this directly
no test coverage detected