/// <summary> /// Invoke a delegate if the TryOptionAsync returns a value successfully /// </summary> /// <typeparam name="T">Type of the bound value</typeparam> /// <param name="self">TryOptionAsync computation</param> /// <param name="Succ">Delegate to invoke if successful</param> public static Task <Unit> ifSome <T>(TryOptionAsync <T> self, Action <T> Succ) => self.IfSome(Succ);