Using the wrong consumer dispatcher type should throw an exception
lukebakken opened this issue · comments
Is your feature request related to a problem? Please describe.
Currently there is no indication if a user uses the wrong consumer dispatcher type (sync vs async).
Describe the solution you'd like
An exception will be thrown if the wrong type is used.
Describe alternatives you've considered
No response
Additional context
InvalidOperationException
is thrown in this case.