Closed
Description
Future in Vertx 4 was useful enough, I thought that it was better to use official component than others IMHO.
@Override
public <T> T unwrap(Class<T> type) {
if ( type.isAssignableFrom(Stage.SessionFactory.class) ) {
return type.cast( new StageSessionFactoryImpl( this ) );
}
if ( type.isAssignableFrom(Mutiny.SessionFactory.class) ) {
return type.cast( new MutinySessionFactoryImpl( this ) );
}
return super.unwrap(type);
}