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

Added support for stop name #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jbrown123
Copy link

I've used bitlash for a few projects and as soon as you get just a little complicated or creative you end up with several background tasks running at different times (e.g. timeouts, etc.). These tasks need to interact and it quickly becomes a challenge to manage them by slot number. Instead, it would be great if you could kill them by name.

I modified the code so it now supports "stop [*|num|name]".

Example usage

run t1, 1000
run t2, 1000
run t3, 1000
run t2, 1500

ps
0: t1
1: t2
2: t3
3: t2

stop t2

ps
0: t1
2: t3

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

Successfully merging this pull request may close these issues.

1 participant