Type Alias NextObserver<T>

NextObserver: { next(value: T): void }

Partial interface type for observer defining a mandatory next method. Used to construct the actual Observer type.

Type Parameters

  • T = unknown

Type declaration

  • next:function
    • Receives the next value in the sequence.

      Parameters

      • value: T

        The next value in the sequence. Not set when observable doesn't have a value type.

      Returns void