Interface SubscriptionObserver<T>
interface SubscriptionObserver<T = unknown> { closed: boolean; complete(): void; error(error: Error): void; next(value: T): void;} Properties
Readonly
closed
closed: boolean
Methods
complete
- complete(): void
Returns void
error
- error(error: Error): void
Returns void
next
- next(value: T): void
Returns void
Interface for a subscription observer.