Skip to content

Commit

Permalink
docs: use ObservableNotification instead Notification
Browse files Browse the repository at this point in the history
  • Loading branch information
demensky committed Feb 10, 2023
1 parent e48b510 commit 9f3ce07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/internal/operators/materialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { createOperatorSubscriber } from './OperatorSubscriber';

/**
* Represents all of the notifications from the source Observable as `next`
* emissions marked with their original types within {@link Notification}
* emissions marked with their original types within {@link ObservableNotification}
* objects.
*
* <span class="informal">Wraps `next`, `error` and `complete` emissions in
* {@link Notification} objects, emitted as `next` on the output Observable.
* {@link ObservableNotification} objects, emitted as `next` on the output Observable.
* </span>
*
* ![](materialize.png)
Expand Down Expand Up @@ -44,11 +44,11 @@ import { createOperatorSubscriber } from './OperatorSubscriber';
* // - Notification { kind: 'E', value: undefined, error: TypeError { message: x.toUpperCase is not a function }, hasValue: false }
* ```
*
* @see {@link Notification}
* @see {@link ObservableNotification}
* @see {@link dematerialize}
*
* @return A function that returns an Observable that emits
* {@link Notification} objects that wrap the original emissions from the
* {@link ObservableNotification} objects that wrap the original emissions from the
* source Observable with metadata.
*/
export function materialize<T>(): OperatorFunction<T, ObservableNotification<T>> {
Expand Down

0 comments on commit 9f3ce07

Please sign in to comment.