Files
JiboOs/docs/bt/decorators/TimeoutFail.js

8 lines
395 B
JavaScript
Raw Normal View History

2026-03-16 13:53:01 +02:00
/**
* @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.
*/