anchor.diff:      DoneResponse = {reply, {done, Cont}, State},
       case Done of
                   true -> DoneResponse;
  -                1 -> DoneResponse;
                   _ -> {pending, State}
       end;
   process_response(#request{msg = #rpbindexreq{return_terms=Terms}}, #rpbindexresp{results=Results, keys=Keys, continuation=Cont}, State) ->
  
positive.code:     case Done of
          true ->
              {reply, done, State};
          1 ->
              {reply, done, State};
          _ ->
              {pending, State}
      end;
  
negative.code:     case Done of
          true ->
              {reply, done, State};
          _ ->
              {pending, State}
      end;
  