Skip to content

)} ,System.Reactive.Concurrency.IScheduler)}

Signal.Start(Func) method

Defined in

Type: Signal Namespace: ReactiveUI.Primitives.Reactive.Signals Assembly: ReactiveUI.Primitives.Reactive.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Overloads

  • 1. public static IObservable<T> Start<T>(Func<T> function)
  • 2. public static IObservable<T> Start<T>(Func<T> function, IScheduler scheduler)
  • 3. public static IObservable<Unit> Start(Action action)
  • 4. public static IObservable<Unit> Start(Action action, IScheduler scheduler)

1. Overload

public static IObservable<T> Start<T>(Func<T> function)

View source

Summary: Runs a function on the supplied scheduler and emits its result.

Type parameters

NameDescription
TThe type.

Parameters

NameTypeDescription
functionFuncThe function to run.

Returns: IObservable -- An Signals.

2. Overload

public static IObservable<T> Start<T>(Func<T> function, IScheduler scheduler)

View source

Summary: Runs a function on the supplied scheduler and emits its result.

Type parameters

NameDescription
TThe type.

Parameters

NameTypeDescription
functionFuncThe function to run.
scheduler[IScheduler](#The scheduler.

Returns: IObservable -- An Signals.

3. Overload

public static IObservable<Unit> Start(Action action)

View source

Summary: Runs an action on the supplied scheduler and emits Default when it completes.

Parameters

NameTypeDescription
actionActionThe action to run.

Returns: IObservable -- An Signals.

4. Overload

public static IObservable<Unit> Start(Action action, IScheduler scheduler)

View source

Summary: Runs an action on the supplied scheduler and emits Default when it completes.

Parameters

NameTypeDescription
actionActionThe action to run.
scheduler[IScheduler](#The scheduler.

Returns: IObservable -- An Signals.