ISignalHandlerTSignalTResult

ISignalHandler<TSignal,TResult> interface

Handles a signal and produces a result.

public interface ISignalHandler<in TSignal, out TResult>
    where TSignal : ISignal
ParameterDescription
TSignalThe signal type.
TResultThe result type.

Methods

NameDescription
Handle(TSignal, CancellationToken)Handles the specified signal.

See Also