Skip to content

Commit

Permalink
Issue #90 - Get rid of Notification and Observable.materialize
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandru committed Dec 28, 2015
1 parent b93aa9a commit 9a8d50e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 150 deletions.
31 changes: 0 additions & 31 deletions core/shared/src/main/scala/monifu/Notification.scala

This file was deleted.

11 changes: 0 additions & 11 deletions core/shared/src/main/scala/monifu/Observable.scala
Expand Up @@ -1776,17 +1776,6 @@ trait Observable[+T] { self =>
Observable.create(o => s.execute(onSubscribe(o)))
}

/**
* Converts the source Observable that emits `T` into an Observable
* that emits `Notification[T]`.
*
* NOTE: `onComplete` is still emitted after an `onNext(OnComplete)` notification
* however an `onError(ex)` notification is emitted as an `onNext(OnError(ex))`
* followed by an `onComplete`.
*/
def materialize: Observable[Notification[T]] =
operators.materialize(self)

/**
* Utility that can be used for debugging purposes.
*/
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 9a8d50e

Please sign in to comment.