CallSlot AsTaskReturning TCallResult  Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Creates a wrapper task around CallSlot.AsTask and returns CallSlot.GetValue() as TCallResult-returning Task. Note: the created wrapper task is not cached

Namespace: NFX.Glue
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public Task<TCallResult> AsTaskReturning<TCallResult>()
Type Parameters

TCallResult

Return Value

Type: OnlineTask TCallResult 
See Also