Skip to content

Commit ad9eee4

Browse files
committed
docs: Update RxJS-shareLatest operator and package description
1 parent 640871d commit ad9eee4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# RxJS-shareLatest
2-
An RxJS operator designed to limit source calls and guarantee a swift initial response.
2+
An RxJS operator designed to limit source invocation and guarantee a swift initial response.
3+
4+
This operator enables the sharing of a source observable across all subscribers, caching and immediately emitting any values to new subscribers unless the cache has expired. Should the source observable complete, behavior varies based on subscriber needs: single-value subscribers receive only the cached value without re-subscribing the source, while multi-value subscribers get both the cached value and future emissions upon source re-subscribe.
5+
6+
Examples of shareLatest can be found in the unit-test file.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@invition/rxjs-sharelatest",
33
"version": "1.0.0",
4-
"description": "RxJS operator that help reduce invoking the source and fast 1st response",
4+
"description": "An RxJS operator designed to limit source invocation and guarantee a swift initial response",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
77
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)