Table of Contents

Interface IActivityTask<TInput, TOutput>

Namespace
Songhay.Abstractions
Assembly
SonghayCore.dll

Defines an Activity, optionally for IHost conventions, with Task support.

public interface IActivityTask<in TInput, TOutput>

Type Parameters

TInput

The type of the input.

TOutput

The type of the output.

Extension Methods

Remarks

For detail aound why this definition exists, see https://github.com/BryanWilhite/SonghayCore/issues/83

Methods

StartAsync(TInput?)

Starts the IActivity asynchronously.

Task<TOutput?> StartAsync(TInput? input)

Parameters

input TInput

Returns

Task<TOutput>

See Also