Type alias ValueResult<T>

ValueResult<T>: {
    err: undefined;
    op: "next";
    val: T;
}

A JobResult that indicates the job was ended via a return() value.

Type Parameters

  • T

Type declaration

  • err: undefined
  • op: "next"
  • val: T