Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Resume<A>

Type parameters

  • A

Index

Functions

Const chain

Const create

  • create<A>(resume: (cb: (value: A) => Disposable) => Disposable): Resume<A>
  • Type parameters

    • A

    Parameters

    • resume: (cb: (value: A) => Disposable) => Disposable
        • (cb: (value: A) => Disposable): Disposable
        • Parameters

          • cb: (value: A) => Disposable
              • (value: A): Disposable
              • Parameters

                • value: A

                Returns Disposable

          Returns Disposable

    Returns Resume<A>

Const isLazy

  • isLazy<A>(resume: Resume<A>): resume is LazyResume<A>

Const isValue

  • isValue<A>(resume: Resume<A>): resume is ValueResume<A>

Const of

Const run

  • run<A>(f: (value: A) => Disposable, resume: Resume<A>): Disposable
  • Type parameters

    • A

    Parameters

    • f: (value: A) => Disposable
        • (value: A): Disposable
        • Parameters

          • value: A

          Returns Disposable

    • resume: Resume<A>

    Returns Disposable

Generated using TypeDoc