Interface IChain<TInput, TOutput>
Namespace: DotnetPrompt.Abstractions.Chains
Assembly: DotnetPrompt.Abstractions.dll
Syntax
public interface IChain<TInput, TOutput>
Type Parameters
Name |
Description |
TInput |
|
TOutput |
|
Properties
|
Improve this Doc
View Source
Declaration
ITargetBlock<TInput> InputBlock { get; }
Property Value
Type |
Description |
ITargetBlock<TInput> |
|
|
Improve this Doc
View Source
OutputBlock
Declaration
ISourceBlock<TOutput> OutputBlock { get; }
Property Value
Type |
Description |
ISourceBlock<TOutput> |
|
Methods
|
Improve this Doc
View Source
Cancel()
Declaration
|
Improve this Doc
View Source
Run(TInput)
Declaration
Parameters
Type |
Name |
Description |
TInput |
message |
|
Returns