Table of Contents

Class NewThreadScheduler

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Represents an operator that returns an object that schedules each unit of work on a separate thread.

The NewThreadScheduler operator returns a singleton object that can be used to schedule each unit of work in a separate thread using default thread creation options.

Warning

Scheduler operators are used only to return an instance of the corresponding scheduler object. They need to be combined with the ObserveOn or SubscribeOn operators to actually schedule actions.

public sealed class NewThreadScheduler : Source<NewThreadScheduler>
Inheritance
NewThreadScheduler
Inherited Members

Methods

Generate()

Generates an observable sequence that returns the default NewThreadScheduler object.

public override IObservable<NewThreadScheduler> Generate()

Returns

IObservable<NewThreadScheduler>

A sequence containing the default NewThreadScheduler object.