Runs the computation
content with
a new
IResolverT to resolve its result and
returns a new
IReactiveT representing
the computation.
Namespace: AccessFlowAssembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntaxpublic static IReactive<T> From<T>(
this Func<IResolver<T>, Task> content
)
<ExtensionAttribute>
Public Shared Function From(Of T) (
content As Func(Of IResolver(Of T), Task)
) As IReactive(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IReactive<T>^ From(
Func<IResolver<T>^, Task^>^ content
)
[<ExtensionAttribute>]
static member From :
content : Func<IResolver<'T>, Task> -> IReactive<'T>
Parameters
- content
- Type: SystemFuncIResolverT, Task
The computation to execute.
Type Parameters
- T
- The type of the computation result.
Return Value
Type:
IReactiveT
A new
IReactiveT representing the computation.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FuncIResolverT,
Task. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also