Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Writer<never, never>
    • WriterError

Index

Constructors

constructor

  • Parameters

    • error: Error

    Returns WriterError

Properties

Readonly error

error: Error

Methods

andThen

  • Type parameters

    • O2

    Parameters

    Returns Writer<never, O2>

asDone

  • asDone<I2>(): Writer<I2, never>
  • Type parameters

    • I2

    Returns Writer<I2, never>

asError

  • asError<I2, O2>(): Writer<I2, O2>
  • Type parameters

    • I2

    • O2

    Returns Writer<I2, O2>

bind

  • bind(): never
  • Returns never

feed

  • feed(input: never): Writer<never, never>
  • Parameters

    • input: never

    Returns Writer<never, never>

fork

  • fork(condition: unknown): Writer<never, never>
  • Parameters

    • condition: unknown

    Returns Writer<never, never>

isCont

  • isCont(): boolean
  • Returns boolean

isDone

  • isDone(): boolean
  • Returns boolean

isError

  • isError(): boolean
  • Returns boolean

pull

  • Parameters

    Returns Writer<never, never>

trap

  • trap(): Error
  • Returns Error

Static done

  • done<I, O>(value: O): Writer<I, O>
  • Type parameters

    • I

    • O

    Parameters

    • value: O

    Returns Writer<I, O>

Static end

  • Type parameters

    • I

    Returns Writer<I, never>

Static error

  • error<I, O>(error: Error): Writer<I, O>
  • Type parameters

    • I

    • O

    Parameters

    • error: Error

    Returns Writer<I, O>

Generated using TypeDoc