Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WriterDone<O>

Type parameters

  • O

Hierarchy

  • Writer<unknown, O>
    • WriterDone

Index

Constructors

constructor

  • Type parameters

    • O

    Parameters

    • value: O

    Returns WriterDone<O>

Properties

Readonly value

value: O

Methods

andThen

  • andThen<O2>(that: Writer<unknown, O2>): Writer<unknown, O2>
  • Type parameters

    • O2

    Parameters

    Returns Writer<unknown, O2>

asDone

  • Type parameters

    • I2

    Returns Writer<I2, O>

asError

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

    • I2

    • O2

    Returns Writer<I2, O2>

bind

  • bind(): O
  • Returns O

feed

  • feed(input: unknown): Writer<unknown, O>
  • Parameters

    • input: unknown

    Returns Writer<unknown, O>

fork

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

    • condition: unknown

    Returns Writer<unknown, O>

isCont

  • isCont(): boolean
  • Returns boolean

isDone

  • isDone(): boolean
  • Returns boolean

isError

  • isError(): boolean
  • Returns boolean

pull

  • Parameters

    Returns Writer<unknown, O>

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