scientistproject / Scientist.net

A .NET library for carefully refactoring critical paths. It's a port of GitHub's Ruby Scientist library
MIT License
1.46k stars 95 forks source link

Updated result publishing to be fire and forget. #68

Closed joncloud closed 7 years ago

joncloud commented 8 years ago

Added ConcurrentSet, which wraps up ConcurrentDictionary calls without needing TValue. Updated ExperimentInstance to track publishing tasks as fire and forget to avoid publishing from blocking the result's return value. Added tests to ensure that Science calls are not blocked by result publishing.

joncloud commented 7 years ago

80 has a better design discussion.

haacked commented 7 years ago

Thanks for your contribution! As you know, this PR was superseded by #83. :smile: