Type alias Observer<T>

Observer<T>: {
    next?(value): void;
}

An Observer is used to receive data from an Observable, and is supplied as an argument to subscribe.

Type Parameters

  • T

Type declaration