Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bus.send_periodic() should not start automatically #1848

Open
SWolfSchunk opened this issue Aug 30, 2024 · 0 comments
Open

Bus.send_periodic() should not start automatically #1848

SWolfSchunk opened this issue Aug 30, 2024 · 0 comments

Comments

@SWolfSchunk
Copy link

Is your feature request related to a problem? Please describe.

I am writing an UI with a button to start and stop a can send task that initially should not send. Stopping the task immediately after creating leads to a single sending of the message(s).

Describe the solution you'd like

An optional kwarg eg. "start_on_init: bool = True" would help out here to keep backward compatibility and i could set it to False.

Describe alternatives you've considered

There is no alternative else than changing the package itself in broadcastmanager.py and commenting out self.start() in init of ThreadBasedCyclicSendTask.

Additional context

I have no additional context so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant