From 840f02b65cba34e8f351823bfc684f873a7d0f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuzhan=20Soykan?= Date: Wed, 30 Oct 2024 10:55:34 +0100 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7f554e..f9288bc 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,9 @@ class PingNotificationHandler : NotificationHandler { } class MeasurePipelineBehaviour : PipelineBehaviour { + + override val order: Int = 0 + override suspend fun handle( request: TRequest, next: RequestHandlerDelegate @@ -47,7 +50,7 @@ class MeasurePipelineBehaviour : PipelineBehaviour { } val mediator = // create mediator instance in-memory or with dependency injection, take a look at the documentation - mediator.send(PingCommand()) // 1..1 +mediator.send(PingCommand()) // 1..1 mediator.send(PingQuery()) // 1..1 mediator.send(PingNotification()) // 0..N ```