Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sinks/single"

Index

Functions

Functions

single

  • Resolves with the only element emitted by the observable. If zero or more than one items are emitted, the promise is rejected.

    Type parameters

    • T

      Type of items emitted by the observable.

    Parameters

    Returns Promise<T>

    Promise that resolves with a single item.

Generated using TypeDoc