Table of Contents

Interface IAsyncHandleable<T1, T2, THandler>

Namespace
Executables.Handling
Assembly
executables.dll

Represents a source that can register an asynchronous handler.

public interface IAsyncHandleable<T1, T2, in THandler> where THandler : AsyncHandler<T1, T2>

Type Parameters

T1

Type of the handler input.

T2

Type of the handler result.

THandler

Type of the registered handler.

Methods

Handle(THandler)

Registers a handler and returns a disposable registration handle.

IDisposable Handle(THandler handler)

Parameters

handler THandler

Handler to register.

Returns

IDisposable

Handle that unregisters the handler when disposed.