Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Effects<A, B>

Type parameters

  • A

  • B

Hierarchy

  • Effect<Env<A, any>, B>
    • Effects

Index

Methods

[Symbol.iterator]

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

fromEnv

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

next

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

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

    Returns IteratorResult<Env<A, any>, B>

of

return

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

    • value: B

    Returns IteratorResult<Env<A, any>, B>

throw

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

    • e: any

    Returns IteratorResult<Env<A, any>, B>

withEnv

Generated using TypeDoc