Skip to content

Commit 6c4613f

Browse files
committed
update CHANGELOG.md
1 parent c980c3b commit 6c4613f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
- Add rxjava `Observable` for invalidate and update cache notify
10+
```kotlin
11+
fun subscribeInvalidate(channel: Observable<K>)
12+
fun <T : Any> subscribeInvalidate(channel: Observable<T>, transformer: (T) -> K)
13+
fun <T : Any> subscribeUpdate(channel: Observable<T>, transformer: (T) -> Pair<K, V>)
14+
fun unsubscribe(channel: Observable<*>)
15+
// for loading cache
16+
fun subscribeUpdate(channel: Observable<K>)
17+
```
818

919
## [0.2.0] - 2020-06-09
1020
### Changed

0 commit comments

Comments
 (0)