API Reference GuideInterfacesIDashboardWaitForCloseOn this pageWaitForCloseDescriptionWait for close dashboard.Syntax// The dashboard variable here points to instance of IDashboardconst result = await dashboard.WaitForClose();Return typeTypeDescriptionPromise <Object >Return the latest customData as a promise.