anchor.diff:              gen_fsm:sync_send_event(Pid, {asyncget, Url, Headers, HandleEvent})
       end.
   
  --spec events(Pid :: pid()) -> {binary()}.
  +-spec events(Pid :: pid()) -> [{nofin | fin, reference(), binary()}].
   events(Pid) ->
       gen_fsm:sync_send_all_state_event(Pid, get_response).
   
  
positive.code: manage_chunk(IsFin, HandleEvent, StreamRef, Data, _Responses, State) ->
      HandleEvent(IsFin, StreamRef, Data),
      {next_state, receive_chunk, State}.
  
negative.code: 
  -spec get(pid(), string(), headers(), options()) -> response().
  get(Pid, Url, HeadersMap, Options) ->
      Headers = basic_auth_header(Options, maps:to_list(HeadersMap)),
  
      HandleEvent = maps_get(handle_event, Options, undefined),
      Async = maps_get(async, Options, undefined),
  