Skip to content

Commit

Permalink
0.1.1-dev.2 - Jul 5, 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 committed Jul 5, 2021
1 parent 9c53b42 commit 58f33b5
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 28 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.1.1-dev.2 - Jul 5, 2021

- Add `Single.mapTo`.
- Refactoring operators.

## 0.1.1-dev.1 - Jun 10, 2021

- Change return type of `Stream.ignoreElements()` to `Stream<Never>`.
Expand Down
56 changes: 29 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Some extension methods and classes built on top of `RxDart` - `RxDart` extension

## API

### [Single](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single-class.html)
### [Single](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single-class.html)

A Stream which emits single event, either data or error, and then close with a done-event.

Expand Down Expand Up @@ -43,43 +43,45 @@ Single<User> fetchUser(String id) {

- Create Single
- Factory constructors.
- [Single.fromStream](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single/Single.fromStream.html)
- [Single.value](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single/Single.value.html)
- [Single.error](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single/Single.error.html)
- [Single.fromFuture](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single/Single.fromFuture.html)
- [Single.fromCallable](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single/Single.fromCallable.html)
- [Single.timer](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single/Single.timer.html)
- [Single.defer](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/Single/Single.defer.html)
- [Single.fromStream](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single/Single.fromStream.html)
- [Single.value](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single/Single.value.html)
- [Single.error](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single/Single.error.html)
- [Single.fromFuture](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single/Single.fromFuture.html)
- [Single.fromCallable](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single/Single.fromCallable.html)
- [Single.timer](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single/Single.timer.html)
- [Single.defer](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/Single/Single.defer.html)

- Static methods provided by [RxSingles]() class
- [RxSingles.zip2](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/RxSingles/zip2.html)
- [RxSingles.forkJoin2](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/RxSingles/forkJoin2.html)
- [RxSingles.zip2](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/RxSingles/zip2.html)
- [RxSingles.forkJoin2](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/RxSingles/forkJoin2.html)

- Convert others to Single via extensions.
- [Stream.singleOrError](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/SingleOrErrorStreamExtension/singleOrError.html)
- [Future.asSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/AsSingleFutureExtension/asSingle.html)
- [`(FutureOr<T> Function())`.asSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/AsSingleFunctionExtension/asSingle.html)
- [Stream.singleOrError](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/SingleOrErrorStreamExtension/singleOrError.html)
- [Future.asSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/AsSingleFutureExtension/asSingle.html)
- [`(FutureOr<T> Function())`.asSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/AsSingleFunctionExtension/asSingle.html)

- Operators for Single (returns a Single instead of Stream)
- [flatMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/FlatMapSingleExtension/flatMapSingle.html)
- [asyncExpandSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/AsyncExpandSingleExtension/asyncExpandSingle.html)
- [switchMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/SwitchMapSingleExtension/switchMapSingle.html)
- [exhaustMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/ExhaustMapSingleExtension/exhaustMapSingle.html)
- [debug](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/DebugSingleExtension/debug.html)
- [delay](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/DelaySingleExtension/delay.html)
- [doOnCancel](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/DoSingleExtensions/doOnCancel.html)
- [doOnData](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/DoSingleExtensions/doOnData.html)
- [doOnError](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/DoSingleExtensions/doOnError.html)
- [doOnListen](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/DoSingleExtensions/doOnListen.html)
- [onErrorReturn](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturn.html)
- [onErrorReturnWith](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturnWith.html)
- [onErrorResumeSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeSingle.html)
- [onErrorResumeNextSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.1/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeNextSingle.html)
- [flatMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/FlatMapSingleExtension/flatMapSingle.html)
- [asyncExpandSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/AsyncExpandSingleExtension/asyncExpandSingle.html)
- [switchMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/SwitchMapSingleExtension/switchMapSingle.html)
- [exhaustMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/ExhaustMapSingleExtension/exhaustMapSingle.html)
- [debug](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/DebugSingleExtension/debug.html)
- [delay](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/DelaySingleExtension/delay.html)
- [doOnCancel](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/DoSingleExtensions/doOnCancel.html)
- [doOnData](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/DoSingleExtensions/doOnData.html)
- [doOnError](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/DoSingleExtensions/doOnError.html)
- [doOnListen](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/DoSingleExtensions/doOnListen.html)
- [onErrorReturn](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturn.html)
- [onErrorReturnWith](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturnWith.html)
- [onErrorResumeSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeSingle.html)
- [onErrorResumeNextSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeNextSingle.html)
- [mapTo](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/MapToSingleExtension/mapTo.html)

### Operators for Stream

- [debug](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DebugStreamExtension/debug.html), [collect](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/CollectStreamExtension/collect.html)
- [ForwardingSinkMixin](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/ForwardingSinkMixin-mixin.html)
- [BaseEventSink](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.2/rxdart_ext/BaseEventSink-class.html)
- [forwardSingleWithSink]()
- [forwardStreamWithSink]()
- [distinctUniqueBy](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DistinctUniqueByStreamExtension/distinctUniqueBy.html)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rxdart_ext
description: Some extension methods and classes built on top of RxDart - RxDart extension.
version: 0.1.1-dev.1
version: 0.1.1-dev.2
homepage: https://github.com/hoc081098/rxdart_ext.git
repository: https://github.com/hoc081098/rxdart_ext.git
issue_tracker: https://github.com/hoc081098/rxdart_ext/issues
Expand Down

0 comments on commit 58f33b5

Please sign in to comment.