Skip to content

ScheduledItem.Invoke() method

Defined in

Type: ScheduledItem Namespace: ReactiveUI.Primitives.Concurrency Assembly: ReactiveUI.Primitives.Core.dll

Applies to

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

public void Invoke()

View source

Summary: Runs this scheduled work item if it has not been canceled.

Remarks

        The implementation calls the invocation callback once and stores the disposable it returns. If cancellation
        happens before, during, or immediately after invocation, the returned disposable is disposed to propagate
        cancellation to any work created by the invocation.