initial commit

This commit is contained in:
2026-03-22 03:21:45 +02:00
commit 897fea9f4e
15431 changed files with 2548840 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";var t=require("../../bt/factory"),s=require("../../bt/base"),i=s.Status,u=s.createBehavior;module.exports=u({constructor:function(t){this.func=t,this.status=i.INVALID},start:function(){return this.status=i.IN_PROGRESS,this.func(this.onSucceed.bind(this),this.onFail.bind(this)),!0},onSucceed:function(){this.status=i.SUCCEEDED},onFail:function(){this.status=i.FAILED},stop:function(){},update:function(){return this.status}}),t.addBehavior(module);