You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,8 @@ You can use these functions in different methods. The result of the above code i
59
59
| request| Used to access data| Promise type, The data obtained is the original data of <br> pushResponse. If the responseCount is greater than 1,<br> an array will be obtained|
60
60
| pushResponse| Used to add data| --|
61
61
| clear| Clear all statuses| --|
62
+
| paused (v0.1.0)| pause task| --|
63
+
| running (v0.1.0)| continue matching tasks| --|
62
64
| getStatus| Get current status| {<br> // Whether to complete all request binding <br> requestDone: false, <br> // Whether to complete all pushResponse<br> responseDone: false, <br> //Number of requests bound <br> requestCount: 1 (Number of requests bound), <br> // Number of pushResponse complete<br> responseCount: 1 (Number of pushResponse completed)<br>}|
63
65
64
66
###use createTaskOrder
@@ -100,6 +102,8 @@ You can use these functions in different methods. The result of the above code i
100
102
| request| The method to access data, which can be <br> passed in a function to be executed immediately| Promise type, the data obtained is the original data of <br> pushResponse|
101
103
| pushResponse| Used to add data| --|
102
104
| clear| Clear all statuses| --|
105
+
| paused (v0.1.0)| pause task| --|
106
+
| running (v0.1.0)| continue matching tasks| --|
103
107
| getStatus| Get current status| {<br> //Number of incomplete matching requests<br> pendingRequests: 0, <br> //Number of responses that have not completed matching<br> pendingResponses: 0 <br> }|
104
108
| getLastCompletedTask| Get the data matching the last request with the response| --|