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
13
14
15
16
17
use js_sys::Object;
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern "C" {
    #[wasm_bindgen(extends = Object)]
    #[derive(Clone, Debug)]
    pub type BufferConstants;

    #[allow(non_snake_case)]
    #[wasm_bindgen(method, getter)]
    pub fn MAX_LENGTH(this: &BufferConstants) -> f64;

    #[allow(non_snake_case)]
    #[wasm_bindgen(method, getter)]
    pub fn MAX_STRING_LENGTH(this: &BufferConstants) -> f64;
}