languageext Either.Map/Bind with a Task in the Right position
问题 I am using the toolkit languageext package for C# and am running into a problem with the Either class when the Right value is some kind of Task. For some reason this is causing a hang: var res = repo.GetAccountWithID(accountID) .Map(c => filesServiceCustomer.Initialize(c)) .Bind(t => t.Result); Here, GetAccountWithID returns an Either<Exception, Account> and the Initialize method take an Account and returns a Task<Either<Exception, bool>> . However, it would appear that either the Map or Bind