Type Alias CompleteObserver

CompleteObserver: { complete(value?: unknown): void }

Partial interface type for observer defining a mandatory complete method. Used to construct the actual Observer type.

Type declaration

  • complete:function
    • Receives a completion notification.

      Parameters

      • Optionalvalue: unknown

        Optional completion value. This is not documented in the spec but used in the specs unit tests.

      Returns void