Skip to content

Commit

Permalink
Update docs for onFailure param of Query.Trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Jcparkyn committed Jul 14, 2023
1 parent bb016fb commit 9173453
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Phetch.Core/Query.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,10 @@ public static void Refetch<TArg, TResult>(this IQuery<TArg, TResult> self)
/// <inheritdoc cref="Query{TArg, TResult}.TriggerAsync(TArg)"/>
/// <param name="self">The query to trigger.</param>
/// <param name="arg">The argument to pass to the query.</param>
/// <param name="onFailure">An optional callback which will be fired if the query fails.</param>
/// <param name="onFailure">
/// An optional callback which will be fired if the query fails. This is not fired if the query
/// is cancelled.
/// </param>
/// <param name="onSuccess">An optional callback which will be fired if the query succeeds.</param>
public static async Task<TResult> TriggerAsync<TArg, TResult>(
this IQuery<TArg, TResult> self,
Expand Down

0 comments on commit 9173453

Please sign in to comment.