Exemple #1
0
        public void OnCloneClick()
        {
            FunctionCallable fc = func.clone(1000, HuaweiService.CloudFunction.TimeUnit.MILLISECONDS);

            if (fc.getTimeout() == 1000)
            {
                TestTip.Inst.ShowText("Call Clone Succussfully.");
            }
            else
            {
                TestTip.Inst.ShowText("Call Clone Failed.");
            }
        }
Exemple #2
0
 void Start()
 {
     function = AGConnectFunction.getInstance();
     func     = function.wrap("test-$latest");
 }