Skip to main content

instance_call

Function instance_call 

Source
pub fn instance_call(
    recv: &Value,
    method: &str,
    args: &[Value],
) -> Result<Value, String>
Expand description

Dispatch a tty.ReadStream instance method. Terminal raw-mode toggling has no termios substrate here, so setRawMode just records the flag; the rest are chainable no-ops so .on('data')/.pause()/.resume() chains load.