aleksul / repid

Repid framework: simple to use, fast to run and extensible to adopt job scheduler
http://repid.aleksul.space/
MIT License
67 stars 3 forks source link

✨Dependency injection #133

Closed aleksul closed 10 months ago

aleksul commented 1 year ago

Change Summary

Add 2 dependency injected types - Message and Depends.

Depends allows for an arbitrary dependency to be passed to a Repid actor, while Message allows for a better control over the processing.

Checklist

cloudflare-workers-and-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1bb1b84
Status: ✅  Deploy successful!
Preview URL: https://f00b19da.repid.pages.dev
Branch Preview URL: https://message.repid.pages.dev

View logs

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cc67aeb) 100.00% compared to head (1bb1b84) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #133 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 53 61 +8 Lines 1992 2316 +324 ========================================== + Hits 1992 2316 +324 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.