* Completed the version supplement of local resources, and can perform collaborative data synchronization operations
()
| 198 | * Completed the version supplement of local resources, and can perform collaborative data synchronization operations |
| 199 | */ |
| 200 | waitPrepareComplete() { |
| 201 | return new Promise<boolean>((resolve) => { |
| 202 | if (this.prepared) { |
| 203 | return resolve(true); |
| 204 | } |
| 205 | |
| 206 | const timer = setInterval(() => { |
| 207 | if (this.prepared) { |
| 208 | clearInterval(timer); |
| 209 | return resolve(true); |
| 210 | } |
| 211 | }, 30); |
| 212 | }); |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Member remote changeset update record subscriptions |