workflow-node 0.19.0

Utilities and curated re-exports for Node.js APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern "C" {
    pub type CpuUsage;

    #[wasm_bindgen(method)]
    pub fn user(this: &CpuUsage) -> f64;

    #[wasm_bindgen(method)]
    pub fn system(this: &CpuUsage) -> f64;
}