MySqlTask

Type Alias MySqlTask 

Source
pub type MySqlTask<Args> = Task<Args, MySqlContext, Ulid>;
Expand description

Type alias for a task stored in mysql backend

Aliased Type§

pub struct MySqlTask<Args> {
    pub args: Args,
    pub parts: Parts<SqlContext<Pool<MySql>>, Ulid>,
}

Fields§

§args: Args

The argument task part

§parts: Parts<SqlContext<Pool<MySql>>, Ulid>

Parts of the task eg id, attempts and context