File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
rsocket-core/src/main/java/io/rsocket/core Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 4545import java .util .function .BiConsumer ;
4646import java .util .function .Consumer ;
4747import java .util .function .Supplier ;
48+
49+ import org .reactivestreams .Publisher ;
4850import reactor .core .Disposable ;
4951import reactor .core .publisher .Mono ;
5052import reactor .util .annotation .Nullable ;
@@ -177,6 +179,11 @@ public RSocketConnector dataMimeType(String dataMimeType) {
177179 return this ;
178180 }
179181
182+
183+ public RSocketConnector gracefullShutdownTimeout (Supplier <? extends Publisher <?>> decider ) {
184+ decider .get ().subscribe (() -> );
185+ }
186+
180187 /**
181188 * Set the MIME type to use for formatting payload metadata on the established connection. This is
182189 * set in the initial {@code SETUP} frame sent to the server.
You can’t perform that action at this time.
0 commit comments