initial commit
This commit is contained in:
1
node_modules/jibo/lib/behaviors/base/timeout-js.js
generated
vendored
Normal file
1
node_modules/jibo/lib/behaviors/base/timeout-js.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";var t=require("../../bt/factory"),e=require("../../bt/base"),r=e.Status,i=e.createBehavior,u=require("./timeout-succeed"),s=require("./null");module.exports=i({constructor:function(t){this.func=t},start:function(){return this.status=r.IN_PROGRESS,this.behavior=s("").setDecorators([u("",this.func())]),this.behavior.start()},stop:function(){this.behavior.stop()},update:function(){return this.behavior.update()}}),t.addBehavior(module);
|
||||
Reference in New Issue
Block a user