ShaCallback

Type Alias ShaCallback 

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

Callback type for getting the current deployed git SHA.

This is an async callback that returns a future resolving to the SHA.

Aliased Typeยง

pub struct ShaCallback { /* private fields */ }