Skip to content

Support Vertx Future #996

Closed
Closed
@codingxu97

Description

@codingxu97

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions