EnumerableExCreateT Method (ActionIYielderT) |
Creates an enumerable sequence based on an asynchronous method that provides a yielder.
Namespace: System.LinqAssembly: System.Interactive (in System.Interactive.dll) Version: 1.2.0.0
Syntaxpublic static IEnumerable<T> Create<T>(
Action<IYielder<T>> create
)
Parameters
- create
- Type: SystemActionIYielderT
Delegate implementing an asynchronous method that can use the specified yielder to yield return values.
Type Parameters
- T
- Result sequence element type.
Return Value
Type:
IEnumerableTSequence that will use the asynchronous method to obtain its elements.
See Also