Skip to content

IRequest<TResult>

Namespace: SideXP.Broadcaster | Inherits from: IEvent

public interface IRequest<TResult> : IEvent

A Request is a way for any system to ask for information about another. It must be answered by exactly one handler. As a general rule, a Request must be side-effect free, and never change the state of an object.

Type parameters

  • TResult: The type of the answer.