diff --git a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncBoth.cs b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncBoth.cs index b5c8439c..251e7fea 100644 --- a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncBoth.cs +++ b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncBoth.cs @@ -6,6 +6,9 @@ namespace CSharpFunctionalExtensions { public static partial class ResultExtensions { + public static Task> BindWithTransactionScope(this Task> self, Func>> f) + => WithTransactionScope(() => self.Bind(f)); + public static Task> BindWithTransactionScope(this Task> self, Func>> f) => WithTransactionScope(() => self.Bind(f)); diff --git a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncLeft.cs b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncLeft.cs index 04d7d317..3df187eb 100644 --- a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncLeft.cs +++ b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncLeft.cs @@ -6,6 +6,9 @@ namespace CSharpFunctionalExtensions { public static partial class ResultExtensions { + public static Task> BindWithTransactionScope(this Task> self, Func> f) + => WithTransactionScope(() => self.Bind(f)); + public static Task> BindWithTransactionScope(this Task> self, Func> f) => WithTransactionScope(() => self.Bind(f)); diff --git a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncRight.cs b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncRight.cs index 1c8d38e0..24651bc2 100644 --- a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncRight.cs +++ b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScopeAsyncRight.cs @@ -6,6 +6,9 @@ namespace CSharpFunctionalExtensions { public static partial class ResultExtensions { + public static Task> BindWithTransactionScope(this Result self, Func>> f) + => WithTransactionScope(() => self.Bind(f)); + public static Task> BindWithTransactionScope(this Result self, Func>> f) => WithTransactionScope(() => self.Bind(f));