Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "from/promise"

Index

Functions

Functions

Const fromPromise

  • Yields a single-value Stream of the resolved promise and then automatically marks itself done.

    remarks

    It doesn't matter if the promise resolves before the first subscriber has attached.

    Type parameters

    • T

    Parameters

    • src: Promise<T>

      -

    • Optional opts: Partial<CommonOpts>

      -

    Returns Stream<T>

Generated using TypeDoc