UnityEditor.ASMainWindow.InitiateRefreshAssetsWithCallback C# (CSharp) Method

InitiateRefreshAssetsWithCallback() private method

private InitiateRefreshAssetsWithCallback ( string callbackName ) : void
callbackName string
return void
        private void InitiateRefreshAssetsWithCallback(string callbackName)
        {
            if (!ASEditorBackend.SettingsIfNeeded())
            {
                Debug.Log("Asset Server connection for current project is not set up");
                this.error = true;
            }
            else
            {
                this.error = false;
                AssetServer.SetAfterActionFinishedCallback("ASEditorBackend", callbackName);
                AssetServer.DoRefreshAssetsOnNextTick();
            }
        }