• Preparing search index...
  • The search index is not available
Theia TypeDoc
  • Theia TypeDoc
  • core
  • core
  • map

Function map

  • map<I, O>(event, mapFunc): 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) => O)
        • (i): O
        • Parameters

          • i: I

          Returns O

    Returns Event<O>

    • Defined in packages/core/src/common/event.ts:102

Settings

Member Visibility

Theme

Theia TypeDoc
  • Loading...