Connect is an async process, how can we know when finished?


For example, in TTMSFNCCloudGoogleGmail, Connect is an async process; can we make it to work in sync mode?. Or ... how can we know when finished?. Do we need to write code in the events for all the possible ways this async method will finished?.

Thank you!

Please note that the Connect call only works asynchronously. This behavior is by design in the TMS FNC Cloud Pack
You would only need to assign the OnConnected and the OnAccessDenied events to monitor if the authentication process was finished successfully (OnConnected) or not (OnAccessDenied).