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

[FEATURE] Event loop #201

Closed
SAKURA-CAT opened this issue Jan 14, 2024 · 0 comments · Fixed by #444
Closed

[FEATURE] Event loop #201

SAKURA-CAT opened this issue Jan 14, 2024 · 0 comments · Fixed by #444
Assignees
Labels
💪 enhancement New feature or request

Comments

@SAKURA-CAT
Copy link
Contributor

SAKURA-CAT commented Jan 14, 2024

🤩 Features description [Please make everyone to understand it]

We need a sub-thread event loop to handle some automated data collection tasks as well as high-latency (I/O-bound) tasks.

👍 What problem does this feature solve

On this basis, we will have the capability to automate the collection of hardware and network information, so we will able to fix/suopport:

👾 What does the proposed API look like

The api is for developers, we can create an event loop like this:

el = create_event_loop()

Use this api to create a task:

el. create_task(func, ...)

🚑 Any additional [like screenshots]

Imitate the browser

@SAKURA-CAT SAKURA-CAT added the 💪 enhancement New feature or request label Jan 14, 2024
@SAKURA-CAT SAKURA-CAT added this to the v0.2.0 milestone Jan 14, 2024
@SAKURA-CAT SAKURA-CAT self-assigned this Jan 14, 2024
@SAKURA-CAT SAKURA-CAT removed this from the v0.2.0 milestone Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant