Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Subject.Synchronize<TSource, TResult> Method (ISubject<TSource, TResult>, IScheduler)

Synchronizes the messages on the subject and notifies observers on the specified scheduler.

Namespace:  System.Reactive.Subjects
Assembly:  System.Reactive (in System.Reactive.dll)

public static ISubject<TSource, TResult> Synchronize<TSource, TResult>(
	ISubject<TSource, TResult> subject,
	IScheduler scheduler
)

Type Parameters

TSource

The type source.

TResult

Type of result.

Parameters

subject
Type: System.Reactive.Subjects.ISubject<TSource, TResult>
The subject to synchronize.
scheduler
Type: System.Reactive.Concurrency.IScheduler
Scheduler to notify observers on.

Return Value

Type: System.Reactive.Subjects.ISubject<TSource, TResult>
Subject whose messages are synchronized and whose observers are notified on the given scheduler.
Show:
© 2015 Microsoft