The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

Interaction<TInput, TOutput>.

Handle(TInput) Method

Summary

Handles an interaction and asynchronously returns the result.
Namespace
ReactiveUI
Containing Type
Interaction<TInput, TOutput>

Syntax

public virtual IObservable<TOutput> Handle(TInput input)

Remarks

This method passes the interaction in turn to its registered handlers in reverse order of registration until one of them handles the interaction. If the interaction remains unhandled after all its registered handlers have executed, an UnhandledInteractionException<TInput, TOutput> is thrown.

Parameters

Name Type Description
input TInput The input for the interaction.

Return Value

Type Description
IObservable<TOutput> An observable that ticks when the interaction completes.