Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::options::Options;
use crate::context::Context;
use crate::handler::many_handler;

pub struct CoreActions {}

impl CoreActions {
    pub fn batch(&self, payload: Vec<Payload>, context: Context, options: Options) {
        many_handler(payload, context, options);
    }
}

pub struct Payload {
    // Define the properties of your payload here
}

pub const ACTIONS: CoreActions = CoreActions {};