mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboOs.git
synced 2026-06-16 18:56:30 +00:00
8 lines
395 B
JavaScript
8 lines
395 B
JavaScript
|
|
/**
|
||
|
|
* @class TimeoutFail
|
||
|
|
* @extends jibo.bt.Decorator
|
||
|
|
* @memberof jibo.bt.decorators
|
||
|
|
* @description Forces the behavior it's decorating to fail after the specified amount of time.
|
||
|
|
* @param {Object} options See {@link jibo.bt.Decorator|Decorator} for all options.
|
||
|
|
* @param {number} options.timeout - Time in milliseconds until `TimeoutFail` forces the behavior it's decorarting to fail.
|
||
|
|
*/
|