Table of Contents

Class Delay

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that delays the notification of values in the sequence by the specified time interval, using the render loop scheduler.

public class Delay : Combinator
Inheritance
Delay
Inherited Members

Properties

DueTime

Gets or sets the time interval by which to delay the sequence.

public TimeSpan DueTime { get; set; }

Property Value

TimeSpan

Methods

Process<TSource>(IObservable<TSource>)

Delays the notification of values in an observable sequence by the specified time interval, using the render loop scheduler.

public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The source sequence to delay notifications for.

Returns

IObservable<TSource>

The time-shifted sequence, where all notifications will be raised in the render loop scheduler.

Type Parameters

TSource

The type of the elements in the source sequence.