Explorar el Código

feat(ga): 增加 API ga.AllDone

dzp hace 1 año
padre
commit
987a08bb37
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      plugins/lib/ga.tin

+ 9 - 0
plugins/lib/ga.tin

@@ -100,3 +100,12 @@ event.Define {GA} {有参} {$MODULE} {接收到 IAC GA 时发射本事件,参
         #return 0;
     };
 };
+
+#func {ga.AllDone} {
+    #if { &gXttPipeLine[] == 0 } {
+        #return 1;
+    };
+    #else {
+        #return 0;
+    };
+};