Commit 94a9972
committed
mobile: Add ServiceStatus for retrieving current runtime status of lnd
Used for checking whether lnd is started or not.
ServiceStatus can also be used to determine when lnd has shut down, since
`stopDaemon` returns immediately and does not wait for the gRPC servers
to be fully closed.1 parent 14a01eb commit 94a9972
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
0 commit comments