slawlor / ractor

Rust actor framework
MIT License
1.38k stars 69 forks source link

Fix monte_carlo example #163

Closed slawlor closed 1 year ago

slawlor commented 1 year ago

This causes the cast to the parent to not panic, avoiding error messages, and simply error out the child if it can't talk to the parent.

Resolves #162

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.02% :warning:

Comparison is base (0761b8c) 78.91% compared to head (273e13f) 78.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #163 +/- ## ========================================== - Coverage 78.91% 78.90% -0.02% ========================================== Files 49 49 Lines 8945 8945 ========================================== - Hits 7059 7058 -1 - Misses 1886 1887 +1 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/slawlor/ractor/pull/163/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sean+Lawlor)

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