Pregunta de entrevista de Hola

Implement a deferred class that exposes 2 methods: resolve and then