)} ,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)
Summary: Runs a function on the supplied scheduler and emits its result.
Type parameters
| Name | Description |
|---|---|
T | The type. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | The function to run. |
Returns: IObservable
2. Overload¶
public static IObservable<T> Start<T>(Func<T> function, IScheduler scheduler)
Summary: Runs a function on the supplied scheduler and emits its result.
Type parameters
| Name | Description |
|---|---|
T | The type. |
Parameters
| Name | Type | Description |
|---|---|---|
function | Func | The function to run. |
scheduler | [IScheduler](# | The scheduler. |
Returns: IObservable
3. Overload¶
public static IObservable<Unit> Start(Action action)
Summary: Runs an action on the supplied scheduler and emits Default when it completes.
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action to run. |
Returns: IObservable
4. Overload¶
public static IObservable<Unit> Start(Action action, IScheduler scheduler)
Summary: Runs an action on the supplied scheduler and emits Default when it completes.
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action to run. |
scheduler | [IScheduler](# | The scheduler. |
Returns: IObservable