Interface Observer<TValue, TError>

interface Observer<TValue, TError> {
    complete: () => void;
    error: (err: TError) => void;
    next: (value: TValue) => void;
}

Type Parameters

  • TValue
  • TError

Properties

Properties

complete: () => void
error: (err: TError) => void
next: (value: TValue) => void