Options
All
  • Public
  • Public/Protected
  • All
Menu

Module async/allSettled

Index

Functions Async

Async Functions

  • allSettled<A>(collection: A): Promise<{ -readonly [ K in keyof A]: SettleResult<Awaited<A[K]>> }>
  • Promise.allSettled() implementation

    author

    Theo Sun

    since

    5.18.0

    Type parameters

    • A: [] | readonly unknown[]

    Parameters

    • collection: A

    Returns Promise<{ -readonly [ K in keyof A]: SettleResult<Awaited<A[K]>> }>