TaskResultContracts.UnpackApiTaskResult

public static abstract classTaskResultContracts.UnpackApiTaskResultextends ResolveApiTaskResult<T, T>
Known Direct Subclasses

A contract that takes aTask<T> and optionally returns its resultT?if the task completes successfully.

Supports contracts that are only interested in receiving the result without any associated information about the operation.

Public Constructor Summary

Protected Method Summary

T
outputFromTask(Task<T> task)
Extracts a result from a givenTaskif it is completed successfully.

Inherited Method Summary

Public Constructors

publicUnpackApiTaskResult()

Protected Methods

protected ToutputFromTask(Task<T> task)

Extracts a result from a givenTaskif it is completed successfully.