()
| 260 | }; |
| 261 | |
| 262 | const stopAutoLoad = async (): Promise<Persister<Persist>> => { |
| 263 | if (autoLoadHandle) { |
| 264 | await tryCatch( |
| 265 | () => delPersisterListener(autoLoadHandle!), |
| 266 | onIgnoredError, |
| 267 | ); |
| 268 | autoLoadHandle = undefined; |
| 269 | } |
| 270 | return persister; |
| 271 | }; |
| 272 | |
| 273 | const isAutoLoading = () => !isUndefined(autoLoadHandle); |
| 274 |
no test coverage detected
searching dependent graphs…