Interface IEventHubFunctionBuilder
Provides an interface that allows commands to be mapped to event hubs
Namespace: FunctionMonkey.Abstractions.Builders
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface IEventHubFunctionBuilder
Methods
| Improve this Doc View SourceEventHubFunction<TCommand>(String)
Associate an event hub with a given command type
Declaration
IEventHubFunctionOptionBuilder<TCommand> EventHubFunction<TCommand>(string eventHubName)
Parameters
Type | Name | Description |
---|---|---|
System. |
eventHubName | The name of the event hub |
Returns
Type | Description |
---|---|
IEvent |
Type Parameters
Name | Description |
---|---|
TCommand | The type of the command |