You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Reactor Netty API is not very straightforward when it comes to just run it from a main, see for example this code sample where AtomicReference<NettyContext> is needed.
Could we have something like startAndAwait() method and something to add handlers in a more friendly fashion?
The text was updated successfully, but these errors were encountered:
This commit offers a simplified API to start/stop client and servers in a
blocking fashion.
- `start` method blocks until initialized, then offers a simplified API to
shutdown.
- `startAndAwait` blocks for the whole lifecycle of the client/server, which
would usually be used in a main class (only way to shut down some servers
would be to sigkill).
Current Reactor Netty API is not very straightforward when it comes to just run it from a main, see for example this code sample where
AtomicReference<NettyContext>
is needed.Could we have something like
startAndAwait()
method and something to add handlers in a more friendly fashion?The text was updated successfully, but these errors were encountered: