Type alias Source<A, E>

Source<A, E>: ((signal: START, sink: Sink<A, E, any>) => void)

Type Parameters

  • A

  • E = unknown

Type declaration

    • (signal: START, sink: Sink<A, E, any>): void
    • A Source produces data

      • It can send data of the A type
      • It can send errors of the E type

      Parameters

      Returns void

Generated using TypeDoc