From 5560b66d6044d53ea69ceaaae300b3081034bfaa Mon Sep 17 00:00:00 2001 From: Vignesh Date: Mon, 1 Apr 2019 09:50:12 +0530 Subject: [PATCH 1/3] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b845b72..2992105 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,9 @@ You can create instance through one of this static methods. `static fail: (any) => Progress;` ```javascript -const success = Progress.success({}); +const success = Progress.success({}); // Progress.success(null) means the request succeeded and the result was null. const fail = Progress.fail({a: '1'}); +const none = Progress.none; // This represents the Fetch/async action has not been started yet. ``` Once instance is created there is no way to change object status (e.g. success or failed). From 51f309d655953dc54aa411757fdbb227820cec1f Mon Sep 17 00:00:00 2001 From: Vignesh Date: Mon, 1 Apr 2019 09:53:21 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2992105..08d5626 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ You can create instance through one of this static methods. const success = Progress.success({}); // Progress.success(null) means the request succeeded and the result was null. const fail = Progress.fail({a: '1'}); const none = Progress.none; // This represents the Fetch/async action has not been started yet. +const inProgress = Progress.inProgress; // This represents the Fetch/async action is not yet completed/in Progress. ``` Once instance is created there is no way to change object status (e.g. success or failed). From 5f615e97ce0bd5d71949ce365f6f9bd342887f3d Mon Sep 17 00:00:00 2001 From: Vignesh Date: Mon, 1 Apr 2019 09:54:45 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 08d5626..6449f65 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,7 @@ const inProgress = Progress.inProgress; // This represents the Fetch/async actio ``` Once instance is created there is no way to change object status (e.g. success or failed). -Two more statuses are available through static properties `Progress.inProgress` and `Progress.none`. -Basically those properties is `Progress` instances with predefined statuses. +The 2 static properties `Progress.inProgress` and `Progress.none` are basically those properties is `Progress` instances with predefined statuses. ### Instance properties