/**
 * Autogenerated by Thrift
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */

package dev.test.namespace_from_package.module;

import com.facebook.thrift.client.*;
import java.util.*;

public class TestServiceAsyncReactiveWrapper 
    implements TestService.Reactive {
    private final TestService.Async _delegate;

    public TestServiceAsyncReactiveWrapper(TestService.Async _delegate) {
        
        this._delegate = _delegate;
    }

    @java.lang.Override
    public void dispose() {
        _delegate.close();
    }

    @java.lang.Override
    public reactor.core.publisher.Mono<Long> init(final long int1) {
        return com.facebook.thrift.util.FutureUtil.toMono(() -> _delegate.init(int1));
    }

}
