Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Effect<A, B>

Type parameters

  • A

  • B

Hierarchy

  • Generator<A, B, any>

Index

Functions

fromEnv

  • fromEnv<A, B>(env: Env<A, B>): Effect<Env<A, B>, B>
  • fromEnv<A>(pure: Pure<A>): Effect<Pure<A>, A>

of

withEnv

Methods

[Symbol.iterator]

  • [Symbol.iterator](): Generator<A, B, any>
  • Returns Generator<A, B, any>

next

  • next(...args: [] | [any]): IteratorResult<A, B>
  • Parameters

    • Rest ...args: [] | [any]

    Returns IteratorResult<A, B>

return

  • return(value: B): IteratorResult<A, B>
  • Parameters

    • value: B

    Returns IteratorResult<A, B>

throw

  • throw(e: any): IteratorResult<A, B>
  • Parameters

    • e: any

    Returns IteratorResult<A, B>

Generated using TypeDoc