glink/use_stderr

Types

pub type Stderr {
  Stderr(stderr: WriteStream, write: fn(String) -> Nil)
}

Constructors

  • Stderr(stderr: WriteStream, write: fn(String) -> Nil)

    Arguments

    stderr

    Stderr stream passed to render() in options.stderr or process.stderr by default. NOTE: Not yet useable.

    write

    Write any string to stderr, while preserving Ink’s output. It’s useful when you want to display some external information outside of Ink’s rendering and ensure there’s no conflict between the two. It’s similar to <Static>, except it can’t accept components, it only works with strings.

pub type WriteStream
Search Document