ExperimentalEnumerableSchedulerT Method |
Returns a query whose results evaluate asynchronously and uses the
given scheduler for the workhorse task.
Namespace:
MoreLinq.Experimental
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.0.0
Syntax public static IAwaitQuery<T> Scheduler<T>(
this IAwaitQuery<T> source,
TaskScheduler value
)
<ExtensionAttribute>
Public Shared Function Scheduler(Of T) (
source As IAwaitQuery(Of T),
value As TaskScheduler
) As IAwaitQuery(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IAwaitQuery<T>^ Scheduler(
IAwaitQuery<T>^ source,
TaskScheduler^ value
)
[<ExtensionAttribute>]
static member Scheduler :
source : IAwaitQuery<'T> *
value : TaskScheduler -> IAwaitQuery<'T>
Parameters
- source
- Type: MoreLinq.ExperimentalIAwaitQueryT
The source sequence. - value
- Type: System.Threading.TasksTaskScheduler
The scheduler to use.
Type Parameters
- T
- The type of the source elements.
Return Value
Type:
IAwaitQueryT
A query whose results evaluate asynchronously and uses the
given scheduler for the workhorse task.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAwaitQueryT. 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