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

Adding FireAndForgetResultPublisher #83

Closed thematthopkins closed 7 years ago

thematthopkins commented 7 years ago

See #80 Borrows heavily from @joncloud's implementation

thematthopkins commented 7 years ago

I'm not sure on what would be the best behavior for exceptions would be. Implicitly assuming that the exception should be re-thrown on omission of onPublisherException doesn't seem right. I added a ResultPublisherExceptionBehavior enum to make behavior explicit.

haacked commented 7 years ago

Nice work! It was a team effort! :sparkles: