Open Roiocam opened 2 months ago
similar like #1444, but apply to timer and stash:
those nestings are pretty annoying, especially when i using AOSP format.
- Behaviors.withTimers(t-> - Behaviors.setup(ctx-> { - // preStart something on here - return new BehaviorXX(); - })); + Behaviors.withTimersSetup((t, ctx) -> { + // preStart something on here + return new BehaviorXX(); + });
@Roiocam Thanks, Tests is required too.
similar like #1444, but apply to timer and stash:
those nestings are pretty annoying, especially when i using AOSP format.