We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5543311 commit ddb6ed3Copy full SHA for ddb6ed3
README.md
@@ -15,10 +15,10 @@ Documentation is available at [https://trendyol.github.io/kediatR/](https://tren
15
## Show me the code
16
17
```kotlin
18
-class PingCommand : Command // or
+class PingCommand : Command.Unit // or
19
class PingQuery : Query<String> // or
20
class PingNotification : Notification
21
-class PingCommandHandler : CommandHandler<PingCommand> {
+class PingCommandHandler : CommandHandler.Unit<PingCommand> {
22
override suspend fun handle(command: PingCommand) {
23
println("Pong!")
24
}
0 commit comments