forked from Jibo-Revival-Group/JiboOs
14 lines
571 B
JavaScript
14 lines
571 B
JavaScript
/**
|
|
* @callback jibo.bt.decorators.TimeoutSucceedJs~GetTime
|
|
* @returns {number} Time in milliseconds.
|
|
*/
|
|
|
|
/**
|
|
* @class TimeoutSucceedJs
|
|
* @extends jibo.bt.Decorator
|
|
* @memberof jibo.bt.decorators
|
|
* @description
|
|
* `TimeoutSucceedJs` forces the behavior it's decorating to succeed after the specified amount of time.
|
|
* @param {Object} options See {@link jibo.bt.Decorator|Decorator} for all options.
|
|
* @param {jibo.bt.decorators.TimeoutSucceedJs~GetTime} options.getTime - Time in milliseconds until `TimeoutJs` forces the behavior it's decorating to succeed.
|
|
*/ |