Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PureFuture<A>

Type parameters

  • A

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected listeners

listeners: Consumer<A>[]

occured

occured: boolean

value

value: A

Methods

chain

  • chain<B>(f: function): Future<B>

listen

map

  • map<B>(f: function): Future<B>
  • Type parameters

    • B

    Parameters

    • f: function
        • (a: A): B
        • Parameters

          • a: A

          Returns B

    Returns Future<B>

mapTo

of

push

  • push(_: any): void

resolve

  • resolve(val: A): void

subscribe

  • subscribe(f: function): void
  • Parameters

    • f: function
        • (a: A): void
        • Parameters

          • a: A

          Returns void

    Returns void

Static lift

Static of

Generated using TypeDoc