Observer
Home > @backstage/types
> Observer
Observer interface for consuming an Observer, see TC39.
Signature:
export type Observer<T> = {
next?(value: T): void;
error?(error: Error): void;
complete?(): void;
};
Home > @backstage/types
> Observer
Observer interface for consuming an Observer, see TC39.
Signature:
export type Observer<T> = {
next?(value: T): void;
error?(error: Error): void;
complete?(): void;
};