Function firstValueFromSubscribable

  • Asynchronously get the first value emitted by the Subscribable

    Type Parameters

    • T

    Parameters

    • subject: Observable<T> | Subscribable<T>

      The subscribable

    Returns Promise<T>