Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sinks/subscribe"

Index

Functions

Functions

subscribe

  • subscribe<T>(f?: function): WritableStream<T>
  • Alias for discard.

    Type parameters

    • T

    Parameters

    • Default value f: function = () => {}
        • (v: T): void
        • Parameters

          • v: T

          Returns void

    Returns WritableStream<T>

Generated using TypeDoc