11 lines
303 B
Rust
11 lines
303 B
Rust
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen]
|
|
pub fn get_process() -> Vec<String> {
|
|
let mut data_process: Vec<String> = Vec::new();
|
|
data_process.push(String::from("process1"));
|
|
data_process.push(String::from("process2"));
|
|
data_process.push(String::from("process3"));
|
|
data_process
|
|
}
|