@kayahr/observable

    Type Alias NextObserver<T>

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

    type NextObserver<T = unknown> = {
        next(value: T): void;
    }

    Type Parameters

    • T = unknown
    Index

    Methods

    Methods

    • 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

    MMNEPVFCICPMFPCPTTAAATR