fluvio-smartstream 0.4.0

Fluvio SmartModule WASM library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use fluvio_smartmodule::{smartmodule, SmartOpt, Record, RecordData, Result};

#[derive(Default, SmartOpt)]
pub struct ArrayOpt {
    key: String,
}

#[smartmodule(array_map, params)]
pub fn my_array_map(
    _record: &Record,
    _opt: &ArrayOpt,
) -> Result<Vec<(Option<RecordData>, RecordData)>> {
    unimplemented!()
}

fn main() {}