demystifyfp / FsToolkit.ErrorHandling

An opinionated F# Library for error handling
https://demystifyfp.gitbook.io/fstoolkit-errorhandling
MIT License
471 stars 59 forks source link

Add Task/AsyncOption defaultValue and defaultWith #238

Closed sheridanchris closed 11 months ago

sheridanchris commented 11 months ago

Proposed Changes

Add a few Task/AsyncOption functions that exist in the Option module. Reference: #234 (this PR does not fulfill the Task/AsyncResult part of this issue)

Types of changes

What types of changes does your code introduce to FsToolkit.ErrorHandling? Put an x in the boxes that apply and remove ones that don't apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

sheridanchris commented 11 months ago

Looks great. Mind giving these doc comments too?

Done!