How do I know if Sync Gateway has successfully opened a database after _resync?

Agree that the statement in document as worded is a bit confusing. What is meant is that when the call to _resync returns with a success, you can be sure that the sync gateway has finished resyncing all the data in the bucket and you bring the database back online using online call. The you can the remaining sync gateways in the cluster (or bringing it offline/online)