Skip to main content

TriggerActionFn

Type Alias TriggerActionFn 

Source
pub type TriggerActionFn = Arc<dyn Fn(TriggerContext) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send + Sync>;
Expand description

触发动作的异步回调类型。

Aliased Type§

pub struct TriggerActionFn { /* private fields */ }