Pregunta de entrevista de Objects

how should i handle a long process ( sending a large file ) , that would timeout on the request