Projac.Redis by Yves Reynhout

<PackageReference Include="Projac.Redis" Version="0.0.124" />

 RedisProjectionBuilder

public class RedisProjectionBuilder
Represents a fluent syntax to build up a RedisProjection.

Initializes a new instance of the RedisProjectionBuilder class.

Initializes a new instance of the RedisProjectionBuilder class.

Builds a projection specification based on the handlers collected by this builder.

public RedisProjectionBuilder When<TMessage>(Func<ConnectionMultiplexer, TMessage, Task> handler)

Specifies the message handler to be invoked when a particular message occurs.

Specifies the message handler to be invoked when a particular message occurs.