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

9 lines
409 B
JavaScript
Raw Normal View History

2026-03-16 13:53:01 +02:00
/**
* @class TimeoutSucceed
* @extends jibo.bt.Decorator
* @memberof jibo.bt.decorators
* @description
* 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 {number} options.timeout - Time in milliseconds until `TimeoutSucceed` forces the behavior it's decorating to succeed.
*/