Table of Contents

Class ImmediateScheduler

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Represents an operator that returns an object that schedules units of work to run immediately on the current thread.

The ImmediateScheduler operator returns a singleton object that can be used to schedule units of work to run immediately on the current thread. If there is a recurrent scheduling call downstream from the work unit, the scheduler may hang indefinitely.

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 ImmediateScheduler : Source<ImmediateScheduler>
Inheritance
Source<ImmediateScheduler>
ImmediateScheduler
Inherited Members

Methods

Generate()

Generates an observable sequence that returns the singleton System.Reactive.Concurrency.ImmediateScheduler object.

public override IObservable<ImmediateScheduler> Generate()

Returns

IObservable<ImmediateScheduler>

A sequence containing the singleton System.Reactive.Concurrency.ImmediateScheduler object.