Table of Contents

Class AsyncHandleable

Namespace
Executables.Handling
Assembly
executables.dll

Factory methods for creating asynchronous handleables.

public static class AsyncHandleable
Inheritance
AsyncHandleable
Inherited Members

Methods

Create<T1, T2>(Func<AsyncHandler<T1, T2>, IDisposable>)

Creates an asynchronous handleable from a registration delegate.

[Pure]
public static IAsyncHandleable<T1, T2> Create<T1, T2>(Func<AsyncHandler<T1, T2>, IDisposable> handling)

Parameters

handling Func<AsyncHandler<T1, T2>, IDisposable>

Delegate that registers a handler and returns a handle for unregistering it.

Returns

IAsyncHandleable<T1, T2>

Asynchronous handleable backed by handling.

Type Parameters

T1
T2

Exceptions

ArgumentNullException

handling is null.