hint-application-resumed.rst (872B)
1 .. ts:op:: hintApplicationResumed 2 3 Give wallet-core a kick and restart all pending tasks. 4 5 **Request:** 6 7 This operation takes no arguments (an empty object). 8 9 **Response:** 10 11 On success, the result is a `HintApplicationResumedResponse` object. 12 13 **Side effects:** 14 15 Restarts all pending tasks and stalled network requests. 16 17 **Details:** 18 19 Useful when the host application was suspended and resumed, as active 20 network requests might have stalled. Wallet-core restarts its 21 background tasks and performs a database write and read health check; 22 the outcome of the checks is reported in the response. 23 24 .. ts:def:: HintApplicationResumedResponse 25 26 interface HintApplicationResumedResponse { 27 // Did the database write health check succeed? 28 dbWriteHealthy: boolean; 29 30 // Did the database read health check succeed? 31 dbReadHealthy: boolean; 32 }