Skip to main content

FetchFn

Type Alias FetchFn 

Source
pub type FetchFn = Arc<dyn Fn(FetchRequest) -> Pin<Box<dyn Future<Output = Result<FetchResponse, Box<dyn Error + Send + Sync>>> + Send>> + Send + Sync>;
Expand description

Custom fetch function for injected mode.

Aliased Typeยง

pub struct FetchFn { /* private fields */ }