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
use js_sys::Object;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(module = "tty")]
extern "C" {
    // Renamed from `WriteStream` to avoid a JS class-name collision with
    // `fs::WriteStream` (which owns a `#[wasm_bindgen] impl` block). wasm-bindgen
    // >= 0.2.126 rejects two extern types sharing one JS class name. This type is
    // internal (never re-exported from the crate root) and never instantiated, so
    // giving it a distinct JS identity is inert.
    #[wasm_bindgen(extends = Object)]
    #[derive(Clone, Debug)]
    pub type TtyWriteStream;
}