Options
All
  • Public
  • Public/Protected
  • All
Menu

@fluent/sequence - v0.6.0

Index

Functions

mapBundleAsync

  • mapBundleAsync(bundles: AsyncIterable<FluentBundle>, ids: string): Promise<FluentBundle | null>
  • mapBundleAsync(bundles: AsyncIterable<FluentBundle>, ids: string[]): Promise<(FluentBundle | null)[]>
  • Parameters

    • bundles: AsyncIterable<FluentBundle>
    • ids: string

    Returns Promise<FluentBundle | null>

  • Parameters

    • bundles: AsyncIterable<FluentBundle>
    • ids: string[]

    Returns Promise<(FluentBundle | null)[]>

mapBundleSync

  • mapBundleSync(bundles: Iterable<FluentBundle>, ids: string): FluentBundle | null
  • mapBundleSync(bundles: Iterable<FluentBundle>, ids: string[]): (FluentBundle | null)[]
  • Parameters

    • bundles: Iterable<FluentBundle>
    • ids: string

    Returns FluentBundle | null

  • Parameters

    • bundles: Iterable<FluentBundle>
    • ids: string[]

    Returns (FluentBundle | null)[]