Skip to content

Observing Task state inside TickedAsyncExecutor #2

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

Merged
merged 4 commits into from
Jun 2, 2024

Conversation

coder137
Copy link
Owner

@coder137 coder137 commented Jun 2, 2024

  • Cheaply cloneable TaskIdentifier Literal(&'static str) or Arc(Arc<String>)
  • TaskState tracks Spawn, Wake, Tick, Drop
  • Observer i.e impl Fn

Copy link

codecov bot commented Jun 2, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 89.06%. Comparing base (5a6fb1c) to head (760084d).

Files Patch % Lines
src/ticked_async_executor.rs 80.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   82.60%   89.06%   +6.45%     
==========================================
  Files           2        3       +1     
  Lines          46       64      +18     
==========================================
+ Hits           38       57      +19     
+ Misses          8        7       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coder137 coder137 merged commit f7f2bbd into main Jun 2, 2024
5 checks passed
@coder137 coder137 deleted the task_identifier_and_observer branch June 2, 2024 00:43
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