Type alias Sink<T>

Sink<T>: ((val: T) => void)

A Sink is a function that receives data from a Stream.

Type Parameters

  • T

Type declaration

    • (val: T): void
    • Parameters

      • val: T

      Returns void