Ejemplo n.º 1
0
 /// <summary>
 /// Invokes a delegate with the result of the TryAsync computation if it is successful.
 /// </summary>
 /// <typeparam name="T">Type of the bound value</typeparam>
 /// <param name="self">TryAsync computation</param>
 /// <param name="action">Delegate to invoke on successful invocation of the TryAsync computation</param>
 public static Task <Unit> iter <T>(TryAsync <T> self, Action <T> action) =>
 self.Iter(action);