rxjs / latest / api / index / interface / completionobserver.html

CompletionObserver

interface stable

interface CompletionObserver<T> {
  closed?: boolean
  next?: (value: T) => void
  error?: (err: any) => void
  complete: () => void
}

Properties

Property Type Description
closed boolean
next (value: T) => void
error (err: any) => void
complete () => void

© 2015–2022 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/interface/CompletionObserver