EventLoopScheduler Constructor (Func<ThreadStart, Thread>)
Creates an object that schedules units of work on a designated thread.
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Sub New ( _
threadFactory As Func(Of ThreadStart, Thread) _
)
'Usage
Dim threadFactory As Func(Of ThreadStart, Thread)
Dim instance As New EventLoopScheduler(threadFactory)
public EventLoopScheduler(
Func<ThreadStart, Thread> threadFactory
)
public:
EventLoopScheduler(
Func<ThreadStart^, Thread^>^ threadFactory
)
new :
threadFactory:Func<ThreadStart, Thread> -> EventLoopScheduler
public function EventLoopScheduler(
threadFactory : Func<ThreadStart, Thread>
)
Parameters
- threadFactory
Type: System.Func<ThreadStart, Thread>
The factory function for thread creation.