Skip to main content

enqueue_delivery

Function enqueue_delivery 

Source
pub fn enqueue_delivery(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    row: &Map<String, Value>,
) -> Result<i64, DatabaseError>
Expand description

Enqueues one validated delivery without importing the app’s entire state. The adapter configuration and payload policy are checked by the caller.