Skip to content

Commit 325a375

Browse files
authored
Update README.md
1 parent edae698 commit 325a375

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,16 @@ Example Code:
148148
}
149149
```
150150

151+
### Direct Commands
151152

152-
## Disclaimer
153-
This Alpha version is a first development version intended for initial internal use with direct support from the developer of this module, so use with so much care.
153+
```java
154+
package org.reactivecommons.async.api;
155+
156+
import org.reactivecommons.api.domain.Command;
157+
import reactor.core.publisher.Mono;
158+
159+
public interface DirectAsyncGateway {
160+
<T> Mono<Void> sendCommand(Command<T> command, String targetName);
161+
<T, R> Mono<R> requestReply(AsyncQuery<T> query, String targetName, Class<R> type);
162+
}
163+
```

0 commit comments

Comments
 (0)