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 68e26ae commit 840f02bCopy full SHA for 840f02b
README.md
@@ -34,6 +34,9 @@ class PingNotificationHandler : NotificationHandler<PingNotification> {
34
}
35
36
class MeasurePipelineBehaviour : PipelineBehaviour {
37
+
38
+ override val order: Int = 0
39
40
override suspend fun <TRequest, TResponse> handle(
41
request: TRequest,
42
next: RequestHandlerDelegate<TRequest, TResponse>
@@ -47,7 +50,7 @@ class MeasurePipelineBehaviour : PipelineBehaviour {
47
50
48
51
49
52
val mediator = // create mediator instance in-memory or with dependency injection, take a look at the documentation
- mediator.send(PingCommand()) // 1..1
53
+mediator.send(PingCommand()) // 1..1
54
mediator.send(PingQuery()) // 1..1
55
mediator.send(PingNotification()) // 0..N
56
```
0 commit comments