Add new sleep() function and deprecate resolve() and reject() functions
#51
+198
−14
sleep() function and deprecate resolve() and reject() functions
#51