| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1f2a198 commit ef62889
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1100,12 +1100,10 @@ This methods runs a function synchronously within a context and return its | |||
| 1100 | 1100 | return value. The store is not accessible outside of the callback function or | |
| 1101 | 1101 | the asynchronous operations created within the callback. | |
| 1102 | 1102 | ||
| 1103 | - Optionally, arguments can be passed to the function. They will be passed to | ||
| 1104 | - the callback function. | ||
| 1103 | + The optional `args` are passed to the callback function. | ||
| 1105 | 1104 | ||
| 1106 | - If the callback function throws an error, it will be thrown by `run` too. | ||
| 1107 | - The stacktrace will not be impacted by this call and the context will | ||
| 1108 | - be exited. | ||
| 1105 | + If the callback function throws an error, the error is thrown by `run()` too. | ||
| 1106 | + The stacktrace is not impacted by this call and the context is exited. | ||
| 1109 | 1107 | ||
| 1110 | 1108 | Example: | |
| 1111 | 1109 | ||
@@ -1137,12 +1135,10 @@ return value. The store is not accessible within the callback function or | |||
| 1137 | 1135 | the asynchronous operations created within the callback. Any `getStore()` | |
| 1138 | 1136 | call done within the callback function will always return `undefined`. | |
| 1139 | 1137 | ||
| 1140 | - Optionally, arguments can be passed to the function. They will be passed to | ||
| 1141 | - the callback function. | ||
| 1138 | + The optional `args` are passed to the callback function. | ||
| 1142 | 1139 | ||
| 1143 | - If the callback function throws an error, it will be thrown by `exit` too. | ||
| 1144 | - The stacktrace will not be impacted by this call and the context will be | ||
| 1145 | - re-entered. | ||
| 1140 | + If the callback function throws an error, the error is thrown by `exit()` too. | ||
| 1141 | + The stacktrace is not impacted by this call and the context is re-entered. | ||
| 1146 | 1142 | ||
| 1147 | 1143 | Example: | |
| 1148 | 1144 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments