public class io.reactiverse.pgclient.impl.PgStreamImpl implements io.reactiverse.pgclient.PgStream<io.reactiverse.pgclient.Row>, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.pgclient.PgRowSet>>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.reactiverse.pgclient.impl.PgStreamImpl
  super_class: java.lang.Object
{
  private final io.reactiverse.pgclient.impl.PgPreparedQueryImpl ps;
    descriptor: Lio/reactiverse/pgclient/impl/PgPreparedQueryImpl;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int fetch;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.reactiverse.pgclient.Tuple params;
    descriptor: Lio/reactiverse/pgclient/Tuple;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private io.vertx.core.Handler<java.lang.Void> endHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;

  private io.vertx.core.Handler<io.reactiverse.pgclient.Row> rowHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Lio/reactiverse/pgclient/Row;>;

  private io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;

  private long demand;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private boolean emitting;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private io.reactiverse.pgclient.PgCursor cursor;
    descriptor: Lio/reactiverse/pgclient/PgCursor;
    flags: (0x0002) ACC_PRIVATE

  private java.util.Iterator<io.reactiverse.pgclient.Row> result;
    descriptor: Ljava/util/Iterator;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Iterator<Lio/reactiverse/pgclient/Row;>;

  void <init>(io.reactiverse.pgclient.impl.PgPreparedQueryImpl, int, io.reactiverse.pgclient.Tuple);
    descriptor: (Lio/reactiverse/pgclient/impl/PgPreparedQueryImpl;ILio/reactiverse/pgclient/Tuple;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
        start local 1 // io.reactiverse.pgclient.impl.PgPreparedQueryImpl ps
        start local 2 // int fetch
        start local 3 // io.reactiverse.pgclient.Tuple params
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 42
            aload 0 /* this */
            aload 1 /* ps */
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.ps:Lio/reactiverse/pgclient/impl/PgPreparedQueryImpl;
         2: .line 43
            aload 0 /* this */
            iload 2 /* fetch */
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.fetch:I
         3: .line 44
            aload 0 /* this */
            aload 3 /* params */
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.params:Lio/reactiverse/pgclient/Tuple;
         4: .line 45
            aload 0 /* this */
            ldc 9223372036854775807
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
         5: .line 46
            return
        end local 3 // io.reactiverse.pgclient.Tuple params
        end local 2 // int fetch
        end local 1 // io.reactiverse.pgclient.impl.PgPreparedQueryImpl ps
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
            0    6     1      ps  Lio/reactiverse/pgclient/impl/PgPreparedQueryImpl;
            0    6     2   fetch  I
            0    6     3  params  Lio/reactiverse/pgclient/Tuple;
    MethodParameters:
        Name  Flags
      ps      
      fetch   
      params  

  public synchronized io.reactiverse.pgclient.PgStream<io.reactiverse.pgclient.Row> exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
    descriptor: (Lio/vertx/core/Handler;)Lio/reactiverse/pgclient/PgStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 50
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.exceptionHandler:Lio/vertx/core/Handler;
         1: .line 51
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
            0    2     1  handler  Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/reactiverse/pgclient/PgStream<Lio/reactiverse/pgclient/Row;>;
    MethodParameters:
         Name  Flags
      handler  

  public io.reactiverse.pgclient.PgStream<io.reactiverse.pgclient.Row> handler(io.vertx.core.Handler<io.reactiverse.pgclient.Row>);
    descriptor: (Lio/vertx/core/Handler;)Lio/reactiverse/pgclient/PgStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 57
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 58
            aload 1 /* handler */
            ifnull 7
         2: .line 59
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
            ifnonnull 6
         3: .line 60
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.rowHandler:Lio/vertx/core/Handler;
         4: .line 61
            aload 0 /* this */
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.ps:Lio/reactiverse/pgclient/impl/PgPreparedQueryImpl;
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.params:Lio/reactiverse/pgclient/Tuple;
            invokevirtual io.reactiverse.pgclient.impl.PgPreparedQueryImpl.cursor:(Lio/reactiverse/pgclient/Tuple;)Lio/reactiverse/pgclient/PgCursor;
            dup_x1
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
            astore 2 /* c */
        start local 2 // io.reactiverse.pgclient.PgCursor c
         5: .line 62
            goto 13
        end local 2 // io.reactiverse.pgclient.PgCursor c
         6: .line 63
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.Handler top io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack:
            new java.lang.UnsupportedOperationException
            dup
            ldc "Handle me gracefully"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 66
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
            ifnull 10
         8: .line 67
            aload 0 /* this */
            aconst_null
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
         9: .line 68
            goto 11
        10: .line 69
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.rowHandler:Lio/vertx/core/Handler;
        11: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3
            monitorexit
        12: areturn
        start local 2 // io.reactiverse.pgclient.PgCursor c
        13: .line 57
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.Handler io.reactiverse.pgclient.PgCursor io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack:
            aload 3
            monitorexit
        14: goto 17
        end local 2 // io.reactiverse.pgclient.PgCursor c
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.Handler top io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack: java.lang.Throwable
        15: aload 3
            monitorexit
        16: athrow
        start local 2 // io.reactiverse.pgclient.PgCursor c
        17: .line 74
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.Handler io.reactiverse.pgclient.PgCursor
      StackMap stack:
            aload 2 /* c */
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.fetch:I
            aload 0 /* this */
            invokeinterface io.reactiverse.pgclient.PgCursor.read:(ILio/vertx/core/Handler;)V
        18: .line 75
            aload 0 /* this */
            areturn
        end local 2 // io.reactiverse.pgclient.PgCursor c
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   19     0     this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
            0   19     1  handler  Lio/vertx/core/Handler<Lio/reactiverse/pgclient/Row;>;
            5    6     2        c  Lio/reactiverse/pgclient/PgCursor;
           13   15     2        c  Lio/reactiverse/pgclient/PgCursor;
           17   19     2        c  Lio/reactiverse/pgclient/PgCursor;
      Exception table:
        from    to  target  type
           1    12      15  any
          13    14      15  any
          15    16      15  any
    Signature: (Lio/vertx/core/Handler<Lio/reactiverse/pgclient/Row;>;)Lio/reactiverse/pgclient/PgStream<Lio/reactiverse/pgclient/Row;>;
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.reactiverse.pgclient.PgStream<io.reactiverse.pgclient.Row> pause();
    descriptor: ()Lio/reactiverse/pgclient/PgStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
         0: .line 80
            aload 0 /* this */
            lconst_0
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
         1: .line 81
            aload 0 /* this */
            areturn
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
    Signature: ()Lio/reactiverse/pgclient/PgStream<Lio/reactiverse/pgclient/Row;>;

  public io.reactiverse.pgclient.PgStream<io.reactiverse.pgclient.Row> fetch(long);
    descriptor: (J)Lio/reactiverse/pgclient/PgStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
        start local 1 // long amount
         0: .line 85
            lload 1 /* amount */
            lconst_0
            lcmp
            ifge 2
         1: .line 86
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Invalid fetch amount "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 1 /* amount */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         3: .line 89
            aload 0 /* this */
            dup
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
            lload 1 /* amount */
            ladd
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
         4: .line 90
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
            lconst_0
            lcmp
            ifge 6
         5: .line 91
            aload 0 /* this */
            ldc 9223372036854775807
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
         6: .line 93
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack:
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
            ifnonnull 9
         7: .line 94
            aload 0 /* this */
            aload 3
            monitorexit
         8: areturn
         9: .line 88
      StackMap locals:
      StackMap stack:
            aload 3
            monitorexit
        10: goto 13
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: aload 3
            monitorexit
        12: athrow
        13: .line 97
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.checkPending:()V
        14: .line 98
            aload 0 /* this */
            areturn
        end local 1 // long amount
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
            0   15     1  amount  J
      Exception table:
        from    to  target  type
           3     8      11  any
           9    10      11  any
          11    12      11  any
    Signature: (J)Lio/reactiverse/pgclient/PgStream<Lio/reactiverse/pgclient/Row;>;
    MethodParameters:
        Name  Flags
      amount  

  public io.reactiverse.pgclient.PgStream<io.reactiverse.pgclient.Row> resume();
    descriptor: ()Lio/reactiverse/pgclient/PgStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
         0: .line 103
            aload 0 /* this */
            ldc 9223372036854775807
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.fetch:(J)Lio/reactiverse/pgclient/PgStream;
            areturn
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
    Signature: ()Lio/reactiverse/pgclient/PgStream<Lio/reactiverse/pgclient/Row;>;

  public synchronized io.reactiverse.pgclient.PgStream<io.reactiverse.pgclient.Row> endHandler(io.vertx.core.Handler<java.lang.Void>);
    descriptor: (Lio/vertx/core/Handler;)Lio/reactiverse/pgclient/PgStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 108
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.endHandler:Lio/vertx/core/Handler;
         1: .line 109
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
            0    2     1  handler  Lio/vertx/core/Handler<Ljava/lang/Void;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/reactiverse/pgclient/PgStream<Lio/reactiverse/pgclient/Row;>;
    MethodParameters:
         Name  Flags
      handler  

  public void handle(io.vertx.core.AsyncResult<io.reactiverse.pgclient.PgRowSet>);
    descriptor: (Lio/vertx/core/AsyncResult;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
        start local 1 // io.vertx.core.AsyncResult ar
         0: .line 114
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.failed:()Z
            ifeq 11
         1: .line 116
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         2: .line 117
            aload 0 /* this */
            aconst_null
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
         3: .line 118
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.exceptionHandler:Lio/vertx/core/Handler;
            astore 2 /* handler */
        start local 2 // io.vertx.core.Handler handler
         4: .line 116
            aload 3
            monitorexit
         5: goto 8
        end local 2 // io.vertx.core.Handler handler
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.AsyncResult top io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
        start local 2 // io.vertx.core.Handler handler
         8: .line 120
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.AsyncResult io.vertx.core.Handler
      StackMap stack:
            aload 2 /* handler */
            ifnull 13
         9: .line 121
            aload 2 /* handler */
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        end local 2 // io.vertx.core.Handler handler
        10: .line 123
            goto 13
        11: .line 124
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
            checkcast io.reactiverse.pgclient.PgRowSet
            invokeinterface io.reactiverse.pgclient.PgRowSet.iterator:()Lio/reactiverse/pgclient/PgIterator;
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.result:Ljava/util/Iterator;
        12: .line 125
            aload 0 /* this */
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.checkPending:()V
        13: .line 127
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.AsyncResult ar
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
            0   14     1       ar  Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/PgRowSet;>;
            4    6     2  handler  Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
            8   10     2  handler  Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    Signature: (Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/PgRowSet;>;)V
    MethodParameters:
      Name  Flags
      ar    

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
         0: .line 131
            aload 0 /* this */
            invokedynamic handle()Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/reactiverse/pgclient/impl/PgStreamImpl.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
                  (Lio/vertx/core/AsyncResult;)V
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.close:(Lio/vertx/core/Handler;)V
         1: .line 132
            return
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactiverse/pgclient/impl/PgStreamImpl;

  public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
        start local 1 // io.vertx.core.Handler completionHandler
         0: .line 137
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 138
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
            dup
            astore 2 /* c */
        start local 2 // io.reactiverse.pgclient.PgCursor c
         2: ifnonnull 5
         3: .line 139
            aload 3
            monitorexit
         4: return
         5: .line 141
      StackMap locals: io.reactiverse.pgclient.PgCursor io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
         6: .line 137
            aload 3
            monitorexit
         7: goto 10
        end local 2 // io.reactiverse.pgclient.PgCursor c
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.Handler top io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack: java.lang.Throwable
         8: aload 3
            monitorexit
         9: athrow
        start local 2 // io.reactiverse.pgclient.PgCursor c
        10: .line 143
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl io.vertx.core.Handler io.reactiverse.pgclient.PgCursor
      StackMap stack:
            aload 2 /* c */
            aload 1 /* completionHandler */
            invokeinterface io.reactiverse.pgclient.PgCursor.close:(Lio/vertx/core/Handler;)V
        11: .line 144
            return
        end local 2 // io.reactiverse.pgclient.PgCursor c
        end local 1 // io.vertx.core.Handler completionHandler
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   12     0               this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
            0   12     1  completionHandler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            2    8     2                  c  Lio/reactiverse/pgclient/PgCursor;
           10   12     2                  c  Lio/reactiverse/pgclient/PgCursor;
      Exception table:
        from    to  target  type
           1     4       8  any
           5     7       8  any
           8     9       8  any
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
                   Name  Flags
      completionHandler  

  private void checkPending();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
         0: .line 147
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 148
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.emitting:Z
            ifeq 4
         2: .line 149
            aload 1
            monitorexit
         3: return
         4: .line 151
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.emitting:Z
         5: .line 147
            aload 1
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 1
            monitorexit
         8: athrow
         9: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 1
            monitorenter
        10: .line 155
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
            lconst_0
            lcmp
            ifeq 11
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.result:Ljava/util/Iterator;
            ifnonnull 14
        11: .line 156
      StackMap locals: io.reactiverse.pgclient.impl.PgStreamImpl
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.emitting:Z
        12: .line 157
            aload 1
            monitorexit
        13: goto 35
        14: .line 161
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.result:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 20
        15: .line 162
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.rowHandler:Lio/vertx/core/Handler;
            astore 2 /* handler */
        start local 2 // io.vertx.core.Handler handler
        16: .line 163
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.result:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 3 /* event */
        start local 3 // java.lang.Object event
        17: .line 164
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
            ldc 9223372036854775807
            lcmp
            ifeq 29
        18: .line 165
            aload 0 /* this */
            dup
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
            lconst_1
            lsub
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.demand:J
        19: .line 167
            goto 29
        end local 3 // java.lang.Object event
        end local 2 // io.vertx.core.Handler handler
        20: .line 168
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.result:Ljava/util/Iterator;
        21: .line 169
            aload 0 /* this */
            iconst_0
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.emitting:Z
        22: .line 170
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
            invokeinterface io.reactiverse.pgclient.PgCursor.hasMore:()Z
            ifeq 26
        23: .line 171
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.fetch:I
            aload 0 /* this */
            invokeinterface io.reactiverse.pgclient.PgCursor.read:(ILio/vertx/core/Handler;)V
        24: .line 172
            aload 1
            monitorexit
        25: goto 35
        26: .line 174
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield io.reactiverse.pgclient.impl.PgStreamImpl.cursor:Lio/reactiverse/pgclient/PgCursor;
        27: .line 175
            aload 0 /* this */
            getfield io.reactiverse.pgclient.impl.PgStreamImpl.endHandler:Lio/vertx/core/Handler;
            astore 2 /* handler */
        start local 2 // io.vertx.core.Handler handler
        28: .line 176
            aconst_null
            astore 3 /* event */
        start local 3 // java.lang.Object event
        29: .line 179
      StackMap locals: io.vertx.core.Handler java.lang.Object
      StackMap stack:
            aload 2 /* handler */
            ifnull 31
        30: .line 180
            aload 2 /* handler */
            aload 3 /* event */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        end local 3 // java.lang.Object event
        end local 2 // io.vertx.core.Handler handler
        31: .line 154
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        32: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
        33: aload 1
            monitorexit
        34: athrow
        35: .line 184
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.reactiverse.pgclient.impl.PgStreamImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   36     0     this  Lio/reactiverse/pgclient/impl/PgStreamImpl;
           16   20     2  handler  Lio/vertx/core/Handler;
           28   31     2  handler  Lio/vertx/core/Handler;
           17   20     3    event  Ljava/lang/Object;
           29   31     3    event  Ljava/lang/Object;
      Exception table:
        from    to  target  type
           1     3       7  any
           4     6       7  any
           7     8       7  any
          10    13      33  any
          14    25      33  any
          26    32      33  any
          33    34      33  any

  public io.vertx.core.streams.ReadStream pause();
    descriptor: ()Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.pause:()Lio/reactiverse/pgclient/PgStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream handler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast io.vertx.core.Handler
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.handler:(Lio/vertx/core/Handler;)Lio/reactiverse/pgclient/PgStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream endHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.endHandler:(Lio/vertx/core/Handler;)Lio/reactiverse/pgclient/PgStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void handle(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast io.vertx.core.AsyncResult
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.handle:(Lio/vertx/core/AsyncResult;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream resume();
    descriptor: ()Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.resume:()Lio/reactiverse/pgclient/PgStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream fetch(long);
    descriptor: (J)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
         0: .line 1
            aload 0
            lload 1
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.fetch:(J)Lio/reactiverse/pgclient/PgStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/reactiverse/pgclient/PgStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream exceptionHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.reactiverse.pgclient.impl.PgStreamImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/reactiverse/pgclient/PgStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void lambda$0(io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/core/AsyncResult;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.vertx.core.AsyncResult ar
         0: .line 131
            return
        end local 0 // io.vertx.core.AsyncResult ar
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    ar  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
Signature: Ljava/lang/Object;Lio/reactiverse/pgclient/PgStream<Lio/reactiverse/pgclient/Row;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/PgRowSet;>;>;
SourceFile: "PgStreamImpl.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles