Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Event

Index

Variables

Functions

Variables

Const None

None: Event<any> = ...

Functions

map

  • map<I, O>(event: Event<I>, mapFunc: (i: I) => O): Event<O>
  • Given an event and a map function, returns another event which maps each element through the mapping function.

    Type parameters

    • I

    • O

    Parameters

    • event: Event<I>
    • mapFunc: (i: I) => O
        • (i: I): O
        • Parameters

          • i: I

          Returns O

    Returns Event<O>